:root {
  --bg: #090a0e;
  --panel: #111218;
  --panel-soft: #15161d;
  --text: #f3f1ea;
  --muted: #9698a2;
  --line: rgba(255, 255, 255, .105);
  --yellow: #ffda4b;
  --pink: #ff4f9a;
  --violet: #9b67ff;
  --green: #66e7a0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 3%, rgba(155, 103, 255, .09), transparent 25rem),
    radial-gradient(circle at 5% 20%, rgba(255, 218, 75, .045), transparent 24rem),
    var(--bg);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: .028;
  pointer-events: none;
  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='.7'/%3E%3C/svg%3E");
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(9, 10, 14, .82);
  backdrop-filter: blur(20px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #111;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), #ff9478);
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
}
.brand small { display: block; margin-top: 2px; color: #777983; font: 8px monospace; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; gap: 34px; }
nav a { color: #aaabb3; font-size: 12px; font-weight: 700; text-decoration: none; transition: color .2s; }
nav a:hover { color: white; }
.contact-link {
  justify-self: end;
  display: flex;
  gap: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid #5e6069;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

main, footer { width: min(1280px, calc(100% - 48px)); margin: auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .68fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 80px 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 21px;
  color: #93959e;
  font: 700 10px monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(102, 231, 160, .08), 0 0 14px rgba(102, 231, 160, .65);
  animation: pulse 1.8s infinite;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: .98;
  letter-spacing: -.06em;
}
h1 span, .section-heading h2 span, .stack-section h2 span, .contact-section h2 span {
  color: transparent;
  background: linear-gradient(100deg, var(--yellow), #ff9a73 48%, var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-text {
  max-width: 720px;
  margin-bottom: 0;
  color: #a7a9b1;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.32); }
.button.primary { color: #0b0c10; border-color: var(--yellow); background: var(--yellow); }
.button.ghost { background: rgba(255,255,255,.02); }
.hero-proof { display: flex; gap: clamp(25px, 4vw, 62px); margin-top: 64px; }
.hero-proof div { display: flex; align-items: center; gap: 12px; }
.hero-proof strong { font: 700 22px "Unbounded", sans-serif; }
.hero-proof span { color: #777983; font: 9px/1.45 monospace; text-transform: uppercase; }

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(150deg, #15161d, #0e0f14);
  box-shadow: 0 40px 100px rgba(0,0,0,.42);
}
.profile-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.profile-avatar { display: grid; width: 42px; height: 42px; place-items: center; color: #111; border-radius: 50%; background: var(--yellow); font: 800 15px "Unbounded"; }
.profile-top b { display: block; font-size: 12px; }
.profile-top div span { color: #73757e; font: 8px monospace; text-transform: uppercase; }
.available { padding: 6px 9px; color: var(--green); border: 1px solid rgba(102,231,160,.22); border-radius: 20px; font: 8px monospace; text-transform: uppercase; }
.profile-screen { position: relative; height: 300px; overflow: hidden; }
.screen-grid { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 45px 45px; mask-image: radial-gradient(circle, black, transparent 77%); }
.screen-core { position: absolute; top: 50%; left: 50%; display: grid; width: 85px; height: 85px; place-items: center; color: #111; border-radius: 50%; transform: translate(-50%, -50%); background: linear-gradient(135deg, var(--yellow), var(--pink)); font: 800 19px "Unbounded"; box-shadow: 0 0 65px rgba(255,79,154,.2); }
.code-line { position: absolute; padding: 7px 9px; border: 1px solid var(--line); color: #8a8c96; background: #101116; font: 8px monospace; }
.line-a { top: 35px; left: 28px; }
.line-b { top: 74px; right: 24px; color: var(--yellow); }
.line-c { right: 34px; bottom: 54px; }
.line-d { left: 22px; bottom: 32px; color: var(--pink); }
.profile-stack { display: flex; gap: 6px; padding: 12px 15px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-stack span, .chips span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 20px; color: #8d8f98; font: 8px monospace; white-space: nowrap; }
.profile-status { display: grid; gap: 1px; padding: 12px 18px 17px; }
.profile-status > span { margin-bottom: 6px; color: #555761; font: 8px monospace; }
.profile-status div { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; padding: 7px 0; font-size: 11px; }
.profile-status b { color: #777983; font: 8px monospace; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.status-dot.online { background: var(--green); box-shadow: 0 0 10px rgba(102,231,160,.7); }
.status-dot.offline { background: #ff6262; }
.status-dot.checking { background: #858791; animation: blink 1s infinite; }

.intro-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #696b74;
  font: 9px monospace;
  letter-spacing: .11em;
  white-space: nowrap;
}
.intro-strip i { color: var(--yellow); font-style: normal; }

.work-section, .approach-section, .updates-section { padding: 120px 0; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 450px);
  gap: 60px;
  align-items: end;
  margin-bottom: 55px;
}
.section-heading h2, .stack-section h2, .contact-section h2 {
  margin: 0;
  font: 700 clamp(34px, 4.4vw, 61px)/1.06 "Unbounded", sans-serif;
  letter-spacing: -.055em;
}
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.75; }
.case {
  position: relative;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  min-height: 700px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.case-number { position: absolute; z-index: 3; top: 20px; left: 22px; color: #5a5c65; font: 8px monospace; }
.case-pink .case-copy { order: 2; }
.case-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 5vw, 72px); }
.case-state { display: flex; align-items: center; gap: 8px; color: #80828b; font: 8px monospace; text-transform: uppercase; }
.case-copy h3 { margin: 23px 0 18px; font: 800 clamp(42px, 4.8vw, 68px)/1 "Unbounded"; letter-spacing: -.06em; }
.case-yellow h3 span { color: var(--yellow); }
.case-pink h3 span { color: var(--pink); }
.case-lead { max-width: 560px; color: #c1c2c7; font-size: 17px; line-height: 1.55; }
.case-story { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-story b { color: #767881; font: 8px monospace; letter-spacing: .12em; text-transform: uppercase; }
.case-story p { margin: 9px 0 0; color: #9698a1; font-size: 12px; line-height: 1.65; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border: 1px solid var(--line); }
.metric-row div { padding: 17px; border-right: 1px solid var(--line); }
.metric-row div:last-child { border: 0; }
.metric-row strong { display: block; font: 700 17px "Unbounded"; }
.metric-row span { color: #72747d; font: 8px monospace; text-transform: uppercase; }
.case-footer { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-top: 36px; }
.chips { display: flex; gap: 5px; flex-wrap: wrap; }
.case-footer > a { display: flex; gap: 28px; padding-bottom: 6px; border-bottom: 1px solid #5f616a; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.case-visual { position: relative; min-height: 700px; overflow: hidden; }
.visual-label { position: absolute; z-index: 5; top: 20px; right: 22px; color: #6e7079; font: 8px monospace; letter-spacing: .1em; }

.video-visual { display: grid; place-items: center; background: radial-gradient(circle at 50% 48%, rgba(255,218,75,.15), transparent 35%), linear-gradient(135deg, #171610, #0c0d10); }
.video-visual::before { content: ""; position: absolute; width: 670px; height: 670px; border: 1px solid rgba(255,218,75,.11); transform: rotate(28deg); }
.editor { position: relative; z-index: 2; width: 82%; padding: 10px; border: 1px solid rgba(255,218,75,.23); border-radius: 7px; background: #0a0b0e; box-shadow: 0 30px 80px rgba(0,0,0,.65); transform: rotate(-2deg); }
.editor-bar { display: flex; gap: 5px; align-items: center; height: 31px; padding: 0 4px; }
.editor-bar i { width: 6px; height: 6px; border-radius: 50%; background: #414249; }
.editor-bar span { margin-left: auto; color: #686a72; font: 7px monospace; }
.editor-body { display: grid; grid-template-columns: 1fr 38px 104px; gap: 10px; align-items: center; height: 310px; padding: 20px; background: #101116; }
.source-frame { position: relative; height: 170px; background: linear-gradient(145deg, #243d4b, #171827 50%, #633432); }
.source-frame span { position: absolute; bottom: 8px; left: 8px; color: white; font: 7px monospace; }
.focus-box { position: absolute; top: 25%; right: 20%; width: 62px; height: 62px; border: 1px solid var(--yellow); }
.ai-arrow { color: var(--yellow); font: 700 8px/1.5 monospace; text-align: center; }
.phone-frame { position: relative; height: 240px; overflow: hidden; border: 4px solid #08090c; border-radius: 11px; background: #252634; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.phone-scene { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.9)), radial-gradient(circle at 65% 23%, #dbb995 0 7%, transparent 8%), linear-gradient(145deg, #263f55, #181827 48%, #6a302d); }
.phone-frame b { position: absolute; right: 6px; bottom: 35px; left: 6px; font: 800 12px/1.2 "Unbounded"; text-align: center; }
.phone-frame mark { color: #111; background: var(--yellow); }
.phone-frame span { position: absolute; right: 7px; bottom: 8px; color: #999; font: 7px monospace; }
.timeline { display: flex; gap: 2px; height: 25px; padding: 8px 4px 0; }
.timeline span { flex: 1; height: 5px; background: #303138; }
.timeline .hot { background: var(--yellow); }
.float-note { position: absolute; z-index: 4; padding: 8px 10px; color: var(--yellow); border: 1px solid rgba(255,218,75,.25); background: #11120f; font: 7px monospace; }
.note-one { top: 18%; right: 5%; }
.note-two { bottom: 14%; left: 6%; }

.anime-visual { background: linear-gradient(180deg, transparent 50%, rgba(8,4,14,.95)), radial-gradient(circle at 50% 33%, rgba(255,79,154,.32), transparent 35%), linear-gradient(145deg, #28132e, #100b18); }
.anime-visual::before { content: "✦"; position: absolute; top: -4%; right: 3%; color: rgba(255,255,255,.045); font-size: 310px; }
.anime-visual img { position: absolute; z-index: 2; left: 50%; bottom: -3%; width: min(96%, 660px); max-height: 104%; object-fit: contain; object-position: bottom; transform: translateX(-50%); filter: drop-shadow(0 30px 45px rgba(0,0,0,.45)); }
.magic-circle { position: absolute; top: 17%; left: 50%; width: 430px; height: 430px; border: 1px solid rgba(255,79,154,.28); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 90px rgba(155,103,255,.22), inset 0 0 90px rgba(255,79,154,.09); }
.magic-circle::before, .magic-circle::after { content: ""; position: absolute; inset: 28px; border: 1px dashed rgba(255,255,255,.13); border-radius: 50%; }
.magic-circle::after { inset: 70px; }
.character-card, .settings-card { position: absolute; z-index: 4; border: 1px solid rgba(255,255,255,.16); background: rgba(13,9,20,.75); backdrop-filter: blur(13px); }
.character-card { top: 55px; left: 28px; display: flex; flex-direction: column; padding: 15px 17px; }
.character-card span { color: #ff96c4; font: 7px monospace; letter-spacing: .1em; }
.character-card b { margin: 5px 0; font: 800 17px "Unbounded"; }
.character-card small { color: #999aa2; font-size: 9px; }
.settings-card { right: 24px; bottom: 25px; display: grid; width: 220px; padding: 13px; }
.settings-card span { display: flex; justify-content: space-between; padding: 8px 4px; border-bottom: 1px solid var(--line); color: #6f717a; font: 7px monospace; }
.settings-card b { color: #d2d2d7; font-weight: 600; }
.settings-card button { margin-top: 10px; padding: 11px; color: white; border: 0; background: linear-gradient(90deg, var(--pink), var(--violet)); font: 800 8px "Unbounded"; pointer-events: none; }

.approach-section { border-top: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.approach-grid article { position: relative; min-height: 310px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); }
.approach-grid article > span { color: #555761; font: 8px monospace; }
.approach-icon { display: grid; width: 45px; height: 45px; margin-top: 54px; place-items: center; color: var(--yellow); border: 1px solid rgba(255,218,75,.22); font-size: 17px; }
.approach-grid h3 { margin: 24px 0 10px; font: 700 15px "Unbounded"; }
.approach-grid p { color: #8e9099; font-size: 12px; line-height: 1.65; }

.stack-section {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 10vw;
  padding: 115px 0;
  border-top: 1px solid var(--line);
}
.stack-list { border-top: 1px solid var(--line); }
.stack-list div { display: grid; grid-template-columns: 145px 1fr; gap: 25px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.stack-list b { font-size: 11px; }
.stack-list span { color: #8e9099; font: 10px/1.6 monospace; }

.updates-section { border-top: 1px solid var(--line); }
.updates-live { display: flex; align-items: center; gap: 13px; font: 9px/1.6 monospace !important; text-transform: uppercase; }
.updates-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.update-card { position: relative; min-height: 245px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); transition: background .2s, transform .2s; }
.update-card:hover { z-index: 2; background: rgba(255,255,255,.035); transform: translateY(-3px); }
.update-card header { display: flex; justify-content: space-between; color: #70727b; font: 8px monospace; text-transform: uppercase; }
.update-card .project-badge { color: var(--accent, white); }
.update-card h3 { margin: 45px 0 14px; font: 700 16px/1.4 "Unbounded"; letter-spacing: -.02em; }
.update-card p { color: #8f919a; font-size: 12px; line-height: 1.65; }
.update-card::after { content: "↗"; position: absolute; right: 23px; bottom: 19px; color: #4e5059; }
.loading { padding: 30px; color: var(--muted); }

.contact-section {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 10vw;
  align-items: end;
  padding: 125px 0;
  border-top: 1px solid var(--line);
}
.contact-section > div:last-child p { margin-bottom: 30px; color: #9a9ca5; line-height: 1.75; }
footer { display: flex; justify-content: space-between; padding: 28px 0 44px; border-top: 1px solid var(--line); color: #62646d; font: 8px monospace; text-transform: uppercase; }
footer a { text-decoration: none; }

@keyframes pulse { 50% { opacity: .4; box-shadow: 0 0 0 8px rgba(102,231,160,0); } }
@keyframes blink { 50% { opacity: .25; } }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; padding: 0 20px; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .profile-card { max-width: 620px; }
  .case { grid-template-columns: 1fr; }
  .case-pink .case-copy { order: 0; }
  .case-visual { min-height: 610px; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  main, footer { width: min(100% - 28px, 1280px); }
  .topbar { min-height: 64px; }
  .brand small, .contact-link { display: none; }
  .hero { padding: 62px 0 78px; gap: 60px; }
  h1 { font-size: 43px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-proof div { display: block; }
  .hero-proof strong, .hero-proof span { display: block; }
  .hero-proof span { margin-top: 6px; }
  .profile-screen { height: 260px; }
  .intro-strip { justify-content: flex-start; overflow: hidden; }
  .intro-strip span:nth-of-type(n+3), .intro-strip i:nth-of-type(n+3) { display: none; }
  .work-section, .approach-section, .updates-section { padding: 85px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .case-copy { padding: 55px 22px 30px; }
  .case-copy h3 { font-size: 37px; }
  .case-story { grid-template-columns: 1fr; }
  .metric-row strong { font-size: 13px; }
  .metric-row span { font-size: 6px; }
  .case-footer { align-items: stretch; flex-direction: column; }
  .case-footer > a { justify-content: space-between; }
  .case-visual { min-height: 480px; }
  .editor { width: 94%; }
  .editor-body { grid-template-columns: 1fr 25px 80px; height: 260px; padding: 10px; }
  .phone-frame { height: 205px; }
  .magic-circle { width: 340px; height: 340px; }
  .character-card { top: 45px; left: 15px; }
  .settings-card { right: 12px; bottom: 14px; width: 205px; }
  .approach-grid, .updates-grid { grid-template-columns: 1fr; }
  .stack-list div { grid-template-columns: 1fr; gap: 9px; }
  .contact-section { grid-template-columns: 1fr; gap: 35px; padding: 90px 0; }
  footer { gap: 16px; flex-wrap: wrap; }
  footer span:nth-child(2) { display: none; }
}

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