:root {
  --bg: #050506;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f6f4f1;
  --muted: #aaa7a5;
  --orange: #ff8a24;
  --blue: #4f70ff;
  --pink: #ff2e93;
  --radius: 28px;
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 5%, rgba(77, 80, 255, 0.08), transparent 23rem),
    radial-gradient(circle at 20% 15%, rgba(255, 92, 22, 0.07), transparent 25rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body.dialog-open { overflow: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.glass {
  background: linear-gradient(140deg, rgba(255,255,255,.075), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 30px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.section-shell { width: min(1400px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1400px, calc(100% - 36px));
  height: var(--header-h);
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px 0 24px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; font-size: 12px; letter-spacing: .24em; font-weight: 650; }
.brand-mark { width: 27px; height: 25px; position: relative; display: inline-block; }
.brand-mark i { position: absolute; top: 1px; width: 8px; height: 24px; border-radius: 9px; transform: rotate(-38deg); }
.brand-mark i:first-child { left: 5px; background: linear-gradient(180deg, #75a4ff, #ff3d9a); }
.brand-mark i:last-child { right: 5px; background: linear-gradient(180deg, #ffb25c, #7b63ff); }
.main-nav { display: flex; gap: clamp(18px, 3vw, 46px); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav a { color: #d9d5d2; transition: color .25s ease; }
.main-nav a:hover { color: white; }
.header-cta { justify-self: end; display: inline-flex; gap: 24px; align-items: center; padding: 16px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.24); }
.header-cta span { font-size: 18px; }
.menu-button { display: none; background: transparent; border: 0; width: 48px; height: 48px; }
.menu-button span { display: block; width: 22px; height: 1px; margin: 7px auto; background: #fff; }

.hero {
  position: relative;
  min-height: 980px;
  padding-top: 170px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-copy { position: relative; z-index: 4; padding-left: 22px; }
.eyebrow { margin: 0 0 24px; color: #a7a4a2; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow span { color: var(--pink); margin-right: 13px; }
.hero h1 { margin: 0; font-size: clamp(78px, 10vw, 164px); line-height: .79; letter-spacing: -.07em; font-weight: 590; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: transparent; background: linear-gradient(125deg, #fff 12%, #bdb9b7 53%, #5f5d5d 98%); background-clip: text; -webkit-background-clip: text; }
.hero-subtitle { max-width: 590px; margin: 32px 0 0; color: #c4c0bd; font-size: clamp(18px, 2vw, 28px); line-height: 1.35; }
.hero-actions { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #080808; background: #f4f1ed; border-color: #f4f1ed; }
.button-primary:hover { background: white; }
.button-ghost { background: rgba(255,255,255,.025); }
.button-ghost:hover { background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.23); }
.hero-facts { margin-top: 92px; display: flex; gap: 0; width: min(560px, 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-facts div { flex: 1; padding: 23px 18px 25px 0; }
.hero-facts div + div { border-left: 1px solid var(--line); padding-left: 22px; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { font-size: 17px; font-weight: 500; }
.hero-facts span { margin-top: 7px; color: #777472; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.hero-visual { position: relative; height: 790px; align-self: end; }
.robot-frame { position: absolute; right: -20px; bottom: 0; width: min(650px, 100%); height: 740px; overflow: hidden; border-radius: 46% 46% 32% 38% / 30% 35% 28% 32%; filter: drop-shadow(0 30px 80px rgba(0,0,0,.65)); }
.robot-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 23%, transparent 76%, rgba(5,5,6,.08) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 24%); }
.robot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 38%; transform: scale(1.08); filter: saturate(.95) contrast(1.08); }
.halo { position: absolute; width: 560px; height: 680px; right: 20px; top: 15px; border-radius: 50%; border: 2px solid rgba(255,145,38,.62); box-shadow: 0 0 70px rgba(255,122,27,.22), inset 0 0 45px rgba(89,94,255,.22); transform: rotate(9deg); }
.floating-note { position: absolute; z-index: 4; right: 30px; bottom: 110px; width: 430px; min-height: 132px; padding: 28px 95px 26px 30px; border-radius: 28px; }
.floating-note span, .floating-note strong { display: block; }
.floating-note span { color: var(--pink); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.floating-note strong { margin-top: 12px; font-size: 21px; line-height: 1.35; font-weight: 470; }
.floating-note i { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); font-size: 27px; font-style: normal; }
.control-rail { position: absolute; z-index: 5; top: 180px; right: -14px; width: 64px; padding: 8px; border-radius: 999px; display: grid; gap: 5px; }
.control-rail span { height: 53px; display: grid; place-items: center; border-radius: 50%; color: #d7d3d0; }
.control-rail span:nth-child(3) { background: rgba(0,0,0,.65); color: white; }
.hero-ambient .orb { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .8; }
.orb-one { width: 170px; height: 170px; right: 40%; bottom: 10%; background: radial-gradient(circle at 35% 25%, #fdba73, #b54816 42%, transparent 72%); }
.orb-two { width: 110px; height: 110px; right: 27%; bottom: 16%; background: radial-gradient(circle at 45% 30%, #657cff, #1a235b 46%, transparent 72%); }
.orb-three { width: 80px; height: 80px; left: 38%; top: 40%; background: radial-gradient(circle at 40% 25%, #ff6c32, #5e1d12 49%, transparent 73%); }

.capabilities { margin-top: 48px; min-height: 610px; padding: 88px 40px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: .72fr 1.28fr; gap: 54px; background: radial-gradient(circle at 32% 46%, rgba(255,130,40,.10), transparent 25rem), rgba(255,255,255,.012); }
.section-intro h2, .statement h2, .work-heading h2, .contact h2 { margin: 0; font-size: clamp(48px, 6vw, 88px); line-height: .98; letter-spacing: -.05em; font-weight: 480; }
.section-intro > p:last-child { max-width: 420px; margin-top: 28px; color: var(--muted); line-height: 1.7; }
.capability-grid { align-self: end; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.capability-card { min-height: 245px; padding: 26px; border-radius: 24px; }
.card-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); font-size: 19px; }
.capability-card h3 { margin: 34px 0 12px; font-size: 18px; font-weight: 520; }
.capability-card p { margin: 0; color: #989593; line-height: 1.55; font-size: 14px; }

.statement { min-height: 630px; padding: 130px 24px; display: grid; grid-template-columns: 1.15fr .65fr .4fr; gap: 60px; align-items: center; border-bottom: 1px solid var(--line); }
.statement h2 em { color: var(--pink); font-style: normal; }
.statement-copy p { color: var(--muted); line-height: 1.75; }
.statement-copy .button { margin-top: 24px; }
.system-orbit { min-height: 290px; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.orbit-sphere { position: relative; width: 170px; height: 170px; margin: 0 auto 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 16px, rgba(255,255,255,.055) 17px 18px); }
.orbit-sphere::before, .orbit-sphere::after { content: ""; position: absolute; inset: 49% -14%; height: 1px; background: rgba(255,255,255,.14); transform: rotate(18deg); }
.orbit-sphere::after { transform: rotate(-18deg); }
.orbit-sphere span { position: absolute; width: 64px; height: 64px; left: 54px; top: 52px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff7652, #bd1a7c 40%, #283caa 74%); box-shadow: 0 0 35px rgba(255,34,147,.35); }
.system-orbit small { color: #85817f; letter-spacing: .2em; }
.system-orbit strong { margin-top: 8px; color: #d8d3cf; font-size: 12px; letter-spacing: .18em; }

.work { padding: 120px 0; }
.work-heading { display: flex; justify-content: space-between; gap: 60px; align-items: end; }
.work-heading > p { max-width: 410px; color: var(--muted); line-height: 1.7; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.project-card { position: relative; min-height: 510px; padding: 0; overflow: hidden; text-align: left; border-radius: 26px; border: 1px solid var(--line); background: #080809; cursor: pointer; transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s ease; }
.project-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.25); }
.project-art { position: absolute; inset: 0; overflow: hidden; }
.project-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #080809 5%, transparent 60%); }
.project-art i { position: absolute; display: block; border-radius: 50%; transition: transform .6s ease; }
.project-card:hover .project-art i:first-child { transform: translate(12px,-10px) scale(1.05); }
.project-card:hover .project-art i:last-child { transform: translate(-10px,10px) scale(.96); }
.project-one .project-art i:first-child { width: 310px; height: 310px; top: 60px; left: 38px; background: radial-gradient(circle at 33% 22%, #6f92ff, #10183c 35%, #030306 66%); box-shadow: -40px 25px 80px rgba(255,30,147,.28); }
.project-one .project-art i:last-child { width: 180px; height: 220px; top: 170px; right: 10px; background: radial-gradient(circle at 35% 25%, #ff3a9a, #4b1241 40%, transparent 68%); filter: blur(10px); }
.project-two .project-art i:first-child { width: 260px; height: 260px; top: 70px; left: 72px; background: radial-gradient(circle at 34% 24%, #ffc06f, #a73c12 37%, #080809 70%); box-shadow: 0 30px 90px rgba(255,118,23,.25); }
.project-two .project-art i:last-child { width: 160px; height: 160px; top: 245px; right: 35px; background: radial-gradient(circle at 35% 25%, #687cff, #10173d 46%, #050506 72%); }
.project-three .project-art i:first-child { width: 340px; height: 250px; border-radius: 46% 54% 58% 42%; top: 75px; left: 25px; transform: rotate(-24deg); background: radial-gradient(circle at 35% 28%, #7694ff, #1a2b78 30%, #090a14 62%); box-shadow: 55px 45px 90px rgba(255,103,28,.26); }
.project-three .project-art i:last-child { width: 140px; height: 210px; border-radius: 40% 60%; top: 180px; right: 18px; background: radial-gradient(circle at 35% 25%, #ff9b3f, #8d2a15 43%, transparent 70%); filter: blur(6px); }
.project-meta { position: absolute; z-index: 2; left: 26px; bottom: 26px; }
.project-meta b, .project-meta small { display: block; }
.project-meta b { font-size: 20px; letter-spacing: -.02em; }
.project-meta small { margin-top: 8px; color: #8d8987; letter-spacing: .15em; }
.project-arrow { position: absolute; z-index: 2; right: 24px; bottom: 24px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }

.contact { padding: 150px 24px; border-top: 1px solid var(--line); text-align: center; }
.contact p:not(.eyebrow) { max-width: 660px; margin: 30px auto; color: var(--muted); font-size: 18px; line-height: 1.65; }
.contact .button { margin-top: 12px; }
.contact > small { display: block; margin-top: 18px; color: #6f6c6a; }
.site-footer { min-height: 120px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #7f7b79; font-size: 12px; }
.site-footer > a:last-child { justify-self: end; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.page-transition { position: fixed; inset: 0; z-index: 200; pointer-events: none; background: #09090a; transform: translateY(102%); transition: transform .45s cubic-bezier(.7,0,.3,1); }
.page-transition span { position: absolute; width: 170px; height: 170px; border-radius: 50%; top: calc(50% - 85px); left: calc(50% - 85px); background: radial-gradient(circle at 35% 25%, #ff9a4a, #db276d 42%, #2c41b6 72%, transparent 74%); filter: blur(8px); opacity: .8; }
.page-transition.active { transform: translateY(0); }
.page-transition.exit { transform: translateY(-102%); }

::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(20px); }
dialog { color: var(--text); background: #0a0a0b; border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 60px 180px rgba(0,0,0,.7); }
.project-dialog, .studio-dialog { width: min(760px, calc(100% - 30px)); min-height: 500px; padding: 58px; overflow: hidden; }
.dialog-close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 27px; cursor: pointer; }
.project-dialog h2, .studio-dialog h2 { position: relative; z-index: 2; margin: 0; font-size: clamp(58px, 10vw, 110px); line-height: .9; letter-spacing: -.06em; font-weight: 520; }
.project-dialog > p:not(.eyebrow), .studio-dialog > p:not(.eyebrow) { position: relative; z-index: 2; max-width: 520px; color: #b5b0ad; font-size: 19px; line-height: 1.65; }
.dialog-orb { position: absolute; width: 430px; height: 430px; right: -120px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #ff9b48, #c51d75 35%, #213aa0 65%, #080809 72%); filter: blur(2px); opacity: .72; }
.dialog-rule { position: relative; z-index: 2; width: 120px; height: 1px; margin: 34px 0; background: var(--pink); }
.project-dialog small { position: relative; z-index: 2; color: #7b7775; }
.studio-map { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 12px; position: relative; z-index: 2; }
.studio-map span { width: max-content; padding: 14px 18px; border-radius: 999px; background: #f5f2ef; color: #090909; }
.studio-map i { width: 1px; height: 34px; margin-left: 55px; background: var(--line); }
.studio-map b { width: max-content; margin-left: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: .1em; font-weight: 500; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { position: fixed; top: 88px; left: 18px; right: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; flex-direction: column; background: rgba(8,8,9,.96); transform: translateY(-20px); opacity: 0; pointer-events: none; transition: .25s ease; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu-button { display: block; justify-self: end; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 1260px; padding-top: 150px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(74px, 16vw, 150px); }
  .hero-visual { height: 680px; }
  .robot-frame { right: 0; width: min(720px, 100%); height: 650px; }
  .halo { right: 3%; width: 55vw; min-width: 410px; height: 590px; }
  .control-rail { right: 0; }
  .capabilities { grid-template-columns: 1fr; }
  .statement { grid-template-columns: 1fr 1fr; }
  .system-orbit { grid-column: 1 / -1; width: 300px; justify-self: end; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --radius: 22px; }
  .section-shell { width: min(100% - 24px, 1400px); }
  .site-header { top: 10px; width: calc(100% - 20px); height: 64px; padding-left: 18px; }
  .brand { font-size: 10px; gap: 10px; }
  .hero { min-height: 1120px; padding-top: 126px; }
  .hero h1 { font-size: clamp(66px, 23vw, 102px); }
  .hero-subtitle { font-size: 18px; }
  .hero-facts { margin-top: 56px; }
  .hero-facts { display: grid; grid-template-columns: 1fr; }
  .hero-facts div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .hero-visual { height: 560px; margin-top: 20px; }
  .robot-frame { height: 560px; width: 112%; right: -8%; }
  .halo { width: 400px; height: 500px; right: -50px; }
  .floating-note { width: calc(100% - 12px); right: 6px; bottom: 38px; min-height: 110px; padding: 22px 82px 20px 22px; }
  .floating-note strong { font-size: 17px; }
  .floating-note i { width: 50px; height: 50px; }
  .control-rail { display: none; }
  .capabilities { padding: 58px 20px; margin-top: 22px; }
  .capability-grid { grid-template-columns: 1fr; }
  .statement { grid-template-columns: 1fr; padding: 90px 12px; gap: 34px; }
  .system-orbit { grid-column: auto; justify-self: stretch; width: 100%; }
  .work { padding: 90px 0; }
  .work-heading { display: block; }
  .work-heading > p { margin-top: 28px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card:last-child { grid-column: auto; min-height: 460px; }
  .contact { padding: 100px 10px; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .site-footer > a:last-child { justify-self: start; }
  .project-dialog, .studio-dialog { padding: 48px 24px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
