@charset "utf-8";

:root {
  color-scheme: dark;
  --page: #080d18;
  --page-deep: #05080f;
  --surface: #0d1422;
  --surface-raised: #111b2c;
  --surface-soft: #0a111d;
  --ink: #f5f7fa;
  --muted: #a3afc2;
  --quiet: #74839b;
  --line: rgba(157, 177, 208, .15);
  --blue: #075bff;
  --cyan: #00c2ff;
  --max: 1160px;
  --radius: 22px;
  --shadow: 0 26px 80px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 77% 3%, rgba(7, 91, 255, .12), transparent 27rem),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan); }
img { display: block; max-width: 100%; }
::selection { background: rgba(7, 91, 255, .45); color: white; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: fixed; z-index: 20; top: 12px; left: 12px;
  padding: 10px 14px; border-radius: 8px;
  background: var(--ink); color: var(--page); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(var(--max), calc(100% - 56px));
  min-height: 84px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { font-size: 27px; font-weight: 820; letter-spacing: -.085em; line-height: 1; }
.brand-mark span { color: var(--blue); }
.brand-name { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); color: var(--muted); font-size: 13px; font-weight: 570; }
.main-nav a { transition: color .18s ease; }
.main-nav .nav-contact { color: var(--ink); }
.nav-contact span { margin-left: 5px; color: var(--cyan); }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  width: min(var(--max), calc(100% - 56px)); min-height: 580px; margin: 0 auto;
  display: grid; grid-template-areas: "copy art"; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  align-items: center; gap: 30px; padding: 68px 0 74px;
}
.hero-copy { grid-area: copy; position: relative; z-index: 2; padding: 25px 0 25px 4px; }
.eyebrow, .section-label, .project-kicker {
  color: var(--cyan); font-size: 10px; font-weight: 730; letter-spacing: .17em; text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; }
.eyebrow-dot, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(0, 194, 255, .75); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 700px; margin-bottom: 22px; font-size: clamp(44px, 6vw, 76px); font-weight: 660; letter-spacing: -.065em; line-height: 1.02; }
h1 span, h2 span { color: var(--cyan); }
.hero-lede { max-width: 520px; margin-bottom: 29px; color: var(--muted); font-size: clamp(16px, 1.65vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 0 18px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 680; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { color: white; transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 8px 24px rgba(7, 91, 255, .24); }
.button-primary:hover { background: #176aff; }
.button-quiet { border-color: var(--line); color: var(--ink); }
.button-quiet:hover, .button-outline:hover { border-color: rgba(0, 194, 255, .6); }
.hero-context, .collab-footer { display: flex; align-items: center; gap: 12px; margin-top: 38px; color: var(--quiet); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.hero-context > span:first-child { color: var(--ink); font-weight: 780; letter-spacing: .14em; }
.context-rule { width: 34px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.hero-art { grid-area: art; position: relative; z-index: 1; display: block; width: 100%; overflow: hidden; border: 1px solid rgba(117, 152, 208, .16); border-radius: 13px; background: #03060c; box-shadow: var(--shadow); transform: perspective(1100px) rotateY(-4deg) rotateX(1deg); }
.hero-art::after { position: absolute; inset: 0; border: 1px solid rgba(0, 194, 255, .12); border-radius: inherit; content: ""; pointer-events: none; }
.hero-art img { width: 100%; height: auto; }
.hero-orbit { position: absolute; z-index: -1; width: 480px; height: 480px; border: 1px solid rgba(0, 194, 255, .1); border-radius: 50%; pointer-events: none; }
.orbit-one { top: 35px; right: -300px; }
.orbit-two { top: 80px; right: -345px; width: 570px; height: 570px; border-color: rgba(7, 91, 255, .12); }

.section-wrap { width: min(var(--max), calc(100% - 56px)); margin-right: auto; margin-left: auto; }
.intro { padding-top: 98px; padding-bottom: 96px; border-top: 1px solid var(--line); }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.section-label span { color: var(--quiet); font-variant-numeric: tabular-nums; }
.intro-content { display: grid; grid-template-columns: 1fr .82fr; gap: 11%; align-items: start; }
h2 { margin-bottom: 0; font-size: clamp(34px, 4.4vw, 54px); font-weight: 630; letter-spacing: -.055em; line-height: 1.08; }
.intro-content h2 span { color: var(--muted); }
.intro-copy { max-width: 500px; color: var(--muted); font-size: 15px; }
.intro-copy p:last-child { margin-bottom: 0; }
.domain-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 50px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--quiet); font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.domain-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

.work-section { padding-top: 25px; padding-bottom: 114px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 38px; margin-bottom: 42px; }
.section-heading h2 span { color: var(--muted); }
.section-aside { max-width: 300px; margin: 0 0 4px; color: var(--quiet); font-size: 14px; }
.project-grid { display: grid; grid-template-columns: minmax(0, 760px); gap: 22px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface-raised), var(--surface)); transition: transform .22s ease, border-color .22s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(0, 194, 255, .32); }
.project-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1.82; background: #05080e; }
.project-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-image > img { transform: scale(1.025); }
.image-label { position: absolute; bottom: 13px; left: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid rgba(200, 218, 245, .14); border-radius: 5px; background: rgba(5, 9, 16, .82); color: #d9e3f1; font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; backdrop-filter: blur(8px); }
.live-dot { width: 6px; height: 6px; }
.project-body { padding: 25px 27px 29px; }
.project-kicker { color: var(--quiet); font-size: 9px; }
.project-title-row { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.project-title-row h3 { margin-bottom: 0; font-size: 30px; font-weight: 630; letter-spacing: -.045em; }
.project-arrow { color: var(--cyan); font-size: 20px; }
.project-tagline { margin: 3px 0 15px; color: var(--cyan); font-size: 12px; font-weight: 660; }
.project-description { min-height: 54px; margin-bottom: 19px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.tag-list span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--quiet); font-size: 9px; font-weight: 660; letter-spacing: .04em; }
.license-note { margin: -7px 0 16px; color: var(--quiet); font-size: 10px; line-height: 1.6; }
.license-note a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(0, 194, 255, .45); text-underline-offset: 3px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 12px; font-weight: 700; }
.text-link span { color: var(--cyan); transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }

.principles-section { padding: 96px 0 104px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(130deg, rgba(7, 91, 255, .055), transparent 50%), var(--surface-soft); }
.principles-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.principles-heading h2 span { color: var(--cyan); }
.principles-heading > p { max-width: 375px; margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 45px; }
.principle-card { min-height: 190px; padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: rgba(12, 20, 33, .55); }
.principle-number { color: var(--cyan); font-size: 10px; font-weight: 730; letter-spacing: .12em; }
.principle-card h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.principle-card p { max-width: 300px; margin-bottom: 0; color: var(--quiet); font-size: 12px; line-height: 1.7; }

.collaborate-section { padding-top: 106px; padding-bottom: 100px; }
.collab-panel { position: relative; isolation: isolate; overflow: hidden; padding: 44px clamp(24px, 6vw, 72px) 25px; border: 1px solid rgba(0, 194, 255, .2); border-radius: 18px; background: linear-gradient(110deg, #0c1524, #0a1120 62%, #09152a); }
.collab-glow { position: absolute; z-index: -1; top: -220px; right: -75px; width: 440px; height: 440px; border: 1px solid rgba(0, 194, 255, .2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(7, 91, 255, .035), 0 0 0 110px rgba(7, 91, 255, .025); }
.collab-content { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding: 8px 0 36px; }
.collab-content h2 { margin-bottom: 17px; font-size: clamp(35px, 4.4vw, 55px); }
.collab-content p { max-width: 560px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.collab-actions { display: flex; flex-shrink: 0; flex-direction: column; gap: 10px; }
.button-outline { border-color: var(--line); color: var(--ink); }
.collab-footer { margin-top: 0; padding-top: 17px; border-top: 1px solid var(--line); font-size: 9px; }
.collab-footer > span:first-child { color: var(--muted); text-transform: none; }

.site-footer { width: min(var(--max), calc(100% - 56px)); min-height: 110px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 25px; padding: 20px 0 25px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 23px; font-weight: 820; letter-spacing: -.08em; }
.footer-brand span { color: var(--blue); }
.site-footer p { margin: 0; color: var(--quiet); font-size: 11px; }
.footer-links { display: flex; gap: 18px; color: var(--muted); font-size: 11px; }
.site-footer small { grid-column: 1 / -1; color: var(--quiet); font-size: 10px; }
.not-found { min-height: 100svh; width: min(700px, calc(100% - 48px)); margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found .footer-brand { margin-bottom: 48px; }
.not-found h1 { margin-bottom: 18px; }
.not-found .hero-lede { margin-bottom: 25px; }

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --page: #f5f7fa;
    --page-deep: #eef2f7;
    --surface: #ffffff;
    --surface-raised: #ffffff;
    --surface-soft: #edf2f8;
    --ink: #101725;
    --muted: #536176;
    --quiet: #69778d;
    --line: rgba(28, 48, 78, .14);
    --shadow: 0 24px 65px rgba(21, 40, 72, .16);
  }
  .principle-card { background: rgba(255, 255, 255, .7); }
  .collab-panel { background: linear-gradient(110deg, #101b2d, #0b1424 62%, #09152a); color: #f5f7fa; }
  .collab-panel .section-label, .collab-panel h2 { color: #f5f7fa; }
  .collab-panel .section-label span { color: #8798b1; }
  .collab-panel .collab-content p { color: #a3afc2; }
}

@media (max-width: 850px) {
  .hero { min-height: 0; grid-template-areas: "copy" "art"; grid-template-columns: 1fr; padding-top: 56px; }
  .hero-copy { max-width: 720px; }
  .hero-art { width: min(100%, 720px); margin: 0 auto; transform: none; }
  .hero-orbit { top: 330px; right: -380px; }
  .intro-content { grid-template-columns: 1fr; gap: 24px; }
  .intro-copy { max-width: 670px; }
  .section-heading, .principles-heading { align-items: start; flex-direction: column; gap: 20px; }
  .section-aside, .principles-heading > p { max-width: 520px; }
  .collab-content { align-items: start; flex-direction: column; gap: 28px; }
  .collab-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 20px; }
  .site-header, .section-wrap, .hero, .site-footer { width: min(100% - 36px, var(--max)); }
  .site-header { min-height: 72px; align-items: center; flex-wrap: wrap; gap: 0; padding: 13px 0 10px; }
  .brand-mark { font-size: 24px; }
  .brand-name { font-size: 8px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 10px; padding-top: 12px; font-size: 11px; }
  .hero { gap: 18px; padding-top: 38px; padding-bottom: 57px; }
  .hero-copy { padding-left: 0; }
  .eyebrow { margin-bottom: 19px; font-size: 9px; }
  h1 { font-size: clamp(43px, 13vw, 61px); }
  .hero-lede { font-size: 15px; }
  .button { min-height: 45px; padding: 0 13px; font-size: 11px; }
  .hero-context { margin-top: 27px; font-size: 9px; }
  .intro { padding-top: 68px; padding-bottom: 69px; }
  h2 { font-size: clamp(33px, 10vw, 46px); }
  .domain-strip { gap: 10px; margin-top: 30px; font-size: 8px; letter-spacing: .08em; }
  .work-section { padding-top: 8px; padding-bottom: 72px; }
  .section-heading { margin-bottom: 27px; }
  .project-grid { grid-template-columns: 1fr; gap: 15px; }
  .project-image { aspect-ratio: 1.72; }
  .project-body { padding: 22px 20px 24px; }
  .project-description { min-height: 0; }
  .principles-section { padding: 70px 0 73px; }
  .principle-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 27px; }
  .principle-card { min-height: 0; padding: 20px; }
  .principle-card h3 { margin-top: 16px; }
  .collaborate-section { padding-top: 69px; padding-bottom: 63px; }
  .collab-panel { padding: 29px 20px 18px; }
  .collab-content { padding-top: 3px; padding-bottom: 25px; }
  .collab-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .collab-actions .button { justify-content: space-between; }
  .collab-footer { flex-wrap: wrap; gap: 8px; font-size: 8px; }
  .site-footer { grid-template-columns: auto 1fr; padding-top: 22px; }
  .footer-links { grid-column: 1 / -1; grid-row: 2; }
  .site-footer small { grid-row: 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
