/* madebylb — charte : Obsidian / Graphite / Electric Violet · Space Grotesk / Inter / JetBrains Mono */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
:root {
  --bg: #09090b;
  --g: #18181b;
  --g2: #27272a;
  --line: #27272a;
  --line2: #3f3f46;
  --tx: #f4f4f5;
  --tx2: #c4c4cc;
  --mut: #a1a1aa;
  --mut2: #8b8b94;
  --acc: #7c3aed;
  --lav: #a78bfa;
  --grad: linear-gradient(95deg, #7c3aed 0%, #a855f7 50%, #6366f1 100%);
  --pad: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --disp: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--lav);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--acc);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}
.wrap {
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.mono {
  font-family: var(--mono);
}
.grad {
  color: var(--lav);
  padding-right: 0.04em;
}
.lav {
  color: var(--lav);
}
.lav[href^="mailto:"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mut);
}
.h1 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(44px, 6.7vw, 96px);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0;
}
.h2 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
}
.h3 {
  font-family: var(--disp);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
}
.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--tx2);
  margin: 0;
}
.muted {
  color: var(--mut);
}
.gridbg {
  background-image:
    radial-gradient(
      ellipse 60% 55% at 78% 0%,
      rgba(124, 58, 237, 0.2),
      transparent 70%
    ),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size:
    100% 100%,
    80px 80px,
    80px 80px;
}
.bt {
  border-top: 1px solid var(--line);
}
.bb {
  border-bottom: 1px solid var(--line);
}
/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    background-color 0.35s,
    color 0.35s,
    border-color 0.35s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -14px rgba(124, 58, 237, 0.75);
}
.btn .ar {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.btn:hover .ar {
  transform: translateX(5px);
}
.btn-primary {
  background: var(--acc);
  color: #fff;
}
.btn-ghost {
  border-color: var(--line2);
  color: var(--tx);
}
.btn-ghost:hover {
  border-color: var(--lav);
}
.btn-light {
  background: #fff;
  color: #09090b;
}
.btn-dark {
  background: var(--g);
  color: var(--tx);
  border-color: var(--line);
}
.btn-sm {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 15px;
}
/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: #fff;
}
.logo span {
  color: var(--lav);
}
.nav-links {
  display: flex;
  gap: 40px;
  font-size: 15px;
}
.navlink {
  position: relative;
  color: #d4d4d8;
  transition: color 0.3s;
}
.navlink:hover,
.navlink[aria-current] {
  color: #fff;
}
.navlink:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--lav);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.navlink:hover:after,
.navlink[aria-current]:after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mut);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34a853;
  animation: pulse 2.2s infinite;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mnav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mnav.open {
  transform: none;
}
.mnav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mnav a.big {
  font-family: var(--disp);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.04em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
/* hero */
.hero {
  padding-top: 88px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.hero .h1 span {
  display: block;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: end;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.console {
  background: var(--g);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(124, 58, 237, 0.08);
}
.console-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.console-top i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line2);
  margin-right: 7px;
}
.console-body {
  font-family: var(--mono);
  font-size: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.console-body .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.log {
  opacity: 1;
  animation: logIn 0.55s ease forwards;
}
.log:nth-child(2) {
  animation-delay: 0.9s;
}
.log:nth-child(3) {
  animation-delay: 1.4s;
}
.log:nth-child(4) {
  animation-delay: 1.9s;
}
.log:nth-child(5) {
  animation-delay: 2.4s;
}
.log:nth-child(6) {
  animation-delay: 2.9s;
}
.log:nth-child(7) {
  animation-delay: 3.5s;
}
.caret {
  animation: blink 1s steps(1) infinite;
}
/* marquee */
.marquee-wrap {
  background: var(--g);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee div {
  display: flex;
  gap: 48px;
  padding-right: 48px;
  font-size: 26px;
  white-space: nowrap;
  align-items: center;
  font-family: var(--disp);
}
.marquee .t {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--tx2);
}
/* sections */
.sec {
  padding-top: 128px;
  padding-bottom: 128px;
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.sec-head > div {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sec-head p {
  max-width: 360px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--tx2);
}
/* profiles */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 80px;
}
.tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line2);
  margin-top: 28px;
}
.tab {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  padding: 22px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  font-family: var(--disp);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--mut2);
  transition: color 0.3s;
}
.tab .mono {
  font-size: 12px;
  width: 32px;
}
.tab[aria-selected="true"] {
  color: var(--tx);
  font-weight: 600;
}
.tab[aria-selected="true"]:after {
  content: "●";
  margin-left: auto;
  color: var(--lav);
  font-size: 14px;
}
.panel {
  background: var(--g);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 520px;
}
.panel[hidden] {
  display: none;
}
.panel.show {
  animation: rise 0.6s var(--ease) both;
}
.panel .h3 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}
.panel p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--mut);
}
.plist {
  border-top: 1px solid var(--line);
}
.plist div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}
.plist .mono {
  font-size: 12px;
  color: var(--mut2);
}
.panel .btn {
  align-self: flex-start;
  margin-top: auto;
}
/* poles */
.poles {
  border-top: 1px solid var(--line2);
}
.pole {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.1fr) minmax(0, 1fr) 64px;
  gap: 32px;
  align-items: center;
  padding: 40px var(--pad);
  border-bottom: 1px solid var(--line2);
  transition:
    background-color 0.5s var(--ease),
    color 0.5s;
}
.pole .num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--lav);
  transition: color 0.5s;
}
.pole .t {
  font-family: var(--disp);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.pole .d {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pole .d span {
  color: var(--mut);
  transition: color 0.5s;
  font-size: 17px;
  line-height: 1.5;
}
.pole .d .mono {
  font-size: 12px;
}
.circ {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition:
    transform 0.5s var(--ease),
    background-color 0.5s,
    border-color 0.5s,
    color 0.5s;
}
.pole:hover {
  background: var(--acc);
  color: #fff;
}
.pole:hover .num,
.pole:hover .d span {
  color: rgba(255, 255, 255, 0.88);
}
.pole:hover .circ {
  transform: rotate(-45deg);
  background: #fff;
  border-color: #fff;
  color: #09090b;
}
/* optim */
.dark {
  background: var(--g);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.optim-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.optim-head p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--mut);
}
.orow {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 200px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
}
.orow .mono {
  font-size: 12px;
  color: var(--mut2);
}
.orow .before {
  color: var(--mut2);
}
.flow {
  animation: dash 1.4s linear infinite;
}
/* process */
.proc-svg {
  display: block;
  width: 100%;
  height: auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  margin-top: 16px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line2);
}
.step .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--lav);
}
.step .h3 {
  font-size: 28px;
}
.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tx2);
}
.step .r {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--mut);
}
.loop-note {
  display: none;
}
/* works */
.works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.work {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.work .vis {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/11;
}
.work .vis.short {
  aspect-ratio: 16/10;
}
.work .shot {
  width: 100%;
  height: 100%;
  transition: transform 1.2s var(--ease);
}
.work:hover .shot {
  transform: scale(1.045);
}
.project-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.work .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.work .meta .h3 {
  font-size: clamp(22px, 2vw, 28px);
}
.work:hover .circ {
  transform: rotate(-45deg);
  background: var(--acc);
  border-color: var(--acc);
}
.mock {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #f2eee6;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mock-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.mock-bar span {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.mock-body {
  flex-grow: 1;
  padding: clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}
.mock-body .hl {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.05;
}
.mock-body .sb {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.mock-body .ph {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.diag {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
/* why */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 96px;
}
.why-list {
  border-top: 1px solid var(--line2);
}
.why-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.why-item .n {
  font-family: var(--disp);
  font-size: 32px;
}
.why-item .h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.why-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--tx2);
}
/* cta */
.cta {
  background: linear-gradient(120deg, #7c3aed 0%, #a855f7 55%, #6366f1 100%);
  color: #fff;
  padding-top: 128px;
  padding-bottom: 128px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.cta .big {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(52px, 8.3vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0;
}
.cta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.cta-bottom p {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  max-width: 520px;
}
.btn-outline-w {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.btn-outline-w:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-chat {
  border-color: #fff;
  color: #27123f;
  background: #fff;
}
.btn-chat:hover {
  color: #160724;
  background: #f4eaff;
}
.contact-action {
  white-space: nowrap;
}
/* footer */
.foot {
  background: var(--g);
  border-top: 1px solid var(--line);
  color: var(--mut2);
  padding-top: 72px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  overflow: hidden;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  font-size: 15px;
}
.foot-cols {
  display: flex;
  gap: 80px;
}
.foot-cols div,
.foot-top > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-cols .mono {
  font-size: 11px;
  color: var(--tx);
}
.foot-cols a:hover {
  color: #fff;
}
.wordmark {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(80px, 17vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--tx);
  white-space: nowrap;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
}
/* services page */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.chip:hover {
  background: #fff;
  color: #09090b;
  border-color: #fff;
}
.srv {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 80px;
  padding-top: 112px;
  padding-bottom: 112px;
  border-top: 1px solid var(--line2);
}
.srv .big-n {
  font-family: var(--disp);
  font-size: 180px;
  line-height: 0.8;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.srv-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.srv-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.srv-main .h2 {
  font-size: clamp(32px, 3.6vw, 52px);
}
.asks {
  display: flex;
  flex-direction: column;
}
.asks .lbl {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mut);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line2);
}
.ask {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  transition:
    padding-left 0.4s var(--ease),
    color 0.4s;
}
.ask:hover {
  padding-left: 12px;
  color: var(--lav);
}
.spec {
  background: var(--g);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
}
.spec summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.spec summary::-webkit-details-marker {
  display: none;
}
.spec .plus {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}
.spec[open] .plus {
  transform: rotate(45deg);
}
.spec-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.spec-row .mono {
  font-size: 12px;
  color: var(--lav);
}
.spec-row span:last-child {
  font-size: 15px;
  line-height: 1.5;
  color: #d4d4d8;
}
.spec-body {
  margin-top: 20px;
}
.band {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 64px;
}
.band .side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 380px;
}
.band .side p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--mut);
}
/* portfolio page */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter {
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.filter[aria-pressed="true"] {
  background: #fff;
  color: #09090b;
  border-color: #fff;
}
.proj {
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid var(--line2);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.proj[hidden] {
  display: none;
}
.proj-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 40px;
}
.proj-head > div {
  display: flex;
  align-items: baseline;
  gap: 28px;
}
.proj-head .n {
  font-family: var(--disp);
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
}
.proj-head .h2 {
  font-size: clamp(30px, 3.4vw, 48px);
}
.proj-vis {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: clamp(260px, 40vw, 560px);
}
.proj:hover .shot {
  transform: scale(1.03);
}
.proj .shot {
  transition: transform 1.4s var(--ease);
  width: 100%;
  height: 100%;
}
.proj-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 280px;
  gap: 56px;
}
.proj-grid > p {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--tx2);
}
.items,
.meta-list {
  border-top: 1px solid var(--line2);
  display: flex;
  flex-direction: column;
}
.items div {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.items .mono {
  font-size: 12px;
  color: var(--lav);
  padding-top: 4px;
}
.meta-list div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.meta-list .mono {
  font-size: 11px;
  color: var(--mut);
}
.visit {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  font-weight: 500;
}
.visit .circ {
  width: 48px;
  height: 48px;
  background: var(--acc);
  border-color: var(--acc);
  color: #fff;
}
.visit:hover .circ {
  transform: rotate(-45deg);
}
/* animations */
@keyframes rise {
  from {
    transform: translateY(28px);
  }
  to {
    transform: none;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(52, 168, 83, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 168, 83, 0);
  }
}
@keyframes logIn {
  from {
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: -40;
  }
}
.rise {
  animation: rise 1s var(--ease) both;
}
.d1 {
  animation-delay: 0.08s;
}
.d2 {
  animation-delay: 0.18s;
}
.d3 {
  animation-delay: 0.3s;
}
.d4 {
  animation-delay: 0.45s;
}
.d5 {
  animation-delay: 0.6s;
}
.reveal {
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js-reveal .reveal:not(.in) {
  opacity: 0;
  transform: translateY(28px);
}
/* responsive */
@media (max-width: 1100px) {
  :root {
    --pad: 40px;
  }
  .hero-grid,
  .split,
  .optim-head,
  .why {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .proj-grid {
    grid-template-columns: 1fr 1fr;
  }
  .proj-grid > p {
    grid-column: 1/-1;
  }
  .srv {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .srv .big-n {
    font-size: 120px;
  }
}
@media (max-width: 860px) {
  :root {
    --pad: 20px;
  }
  .nav {
    padding: 14px var(--pad);
  }
  .nav-links,
  .status,
  .nav-right .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero {
    padding-top: 48px;
    padding-bottom: 56px;
    gap: 36px;
  }
  .hero .btns .btn {
    flex: 1 1 100%;
  }
  .console-body {
    font-size: 12.5px;
    padding: 20px;
    gap: 14px;
  }
  .marquee div {
    font-size: 20px;
    gap: 32px;
    padding-right: 32px;
  }
  .marquee .t {
    font-size: 15px;
  }
  .sec {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }
  .panel {
    padding: 28px 22px;
    min-height: 0;
  }
  .tab {
    font-size: 20px;
    min-height: 60px;
    padding: 16px 0;
  }
  .plist div {
    font-size: 16px;
    flex-direction: column;
    gap: 4px;
  }
  .pole {
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
    padding: 28px var(--pad);
  }
  .pole .num {
    grid-column: 1/-1;
  }
  .pole .d {
    grid-column: 1/2;
  }
  .pole .circ {
    grid-row: 2/4;
    grid-column: 2;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .orow {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 17px;
    padding: 22px 0;
  }
  .orow svg {
    width: 56px;
    height: auto;
    margin: 2px 0;
  }
  .proc-svg {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
    position: relative;
  }
  .step {
    border-top: 0;
    padding: 0 0 32px 44px;
    position: relative;
  }
  .step:before {
    content: "";
    position: absolute;
    left: 13px;
    top: 6px;
    bottom: 0;
    width: 1px;
    background: var(--line2);
  }
  .step:last-child:before {
    display: none;
  }
  .step .n {
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--g2);
    border: 1px solid var(--line2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--tx);
  }
  .step:first-child .n,
  .step:last-child .n {
    background: var(--acc);
    border-color: var(--acc);
    color: #fff;
  }
  .step .h3 {
    font-size: 22px;
  }
  .loop-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px dashed var(--lav);
    border-radius: 12px;
    font-size: 14px;
    color: var(--tx2);
  }
  .works {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }
  .why-item .h3 {
    font-size: 20px;
  }
  .cta {
    padding-top: 72px;
    padding-bottom: 72px;
    gap: 32px;
  }
  .cta-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .cta-bottom .btn {
    width: 100%;
  }
  .foot-top {
    flex-direction: column;
  }
  .foot-cols {
    gap: 40px;
  }
  .foot-bottom {
    flex-direction: column;
  }
  .srv {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .srv .big-n {
    font-size: 88px;
  }
  .ask {
    font-size: 16px;
    padding: 14px 0;
  }
  .spec {
    padding: 20px;
  }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .band {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .proj {
    padding-top: 56px;
    padding-bottom: 56px;
    gap: 24px;
  }
  .proj-head {
    flex-direction: column;
    gap: 12px;
  }
  .proj-head > div {
    flex-direction: column;
    gap: 8px;
  }
  .proj-head .n {
    font-size: 40px;
  }
  .proj-vis {
    height: auto;
    aspect-ratio: 4/3;
  }
  .proj-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .filter {
    white-space: nowrap;
  }
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .chip {
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .log {
    opacity: 1;
  }
  .js-reveal .reveal:not(.in) {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Assistant Made by LB */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lb-chat {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: "Aptos Display", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

.lb-chat-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 1px solid rgba(190, 174, 255, .38);
  border-radius: 18px;
  color: #f7f4ff;
  background: #241d3d;
  box-shadow: 0 12px 30px rgba(18, 12, 35, .32), inset 0 1px 0 rgba(255, 255, 255, .12);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}

.lb-chat-trigger:hover { background: #302653; box-shadow: 0 16px 36px rgba(18, 12, 35, .4), inset 0 1px 0 rgba(255, 255, 255, .16); transform: translateY(-2px); }
.lb-chat-trigger:active { transform: scale(.98); }
.lb-chat-trigger:focus-visible { outline: 3px solid rgba(151, 124, 255, .48); outline-offset: 3px; }
.lb-chat-trigger img,
.lb-chat-head img {
  object-fit: cover;
  border-radius: 50%;
}
.lb-chat-trigger > img {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  object-fit: cover;
  object-position: center;
}
.lb-chat-trigger-status {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  border: 3px solid #f7f5f1;
  border-radius: 50%;
  background: #3dcc8d;
}

.lb-chat-panel {
  width: min(420px, calc(100vw - 32px));
  height: min(610px, calc(100dvh - 112px));
  min-height: 430px;
  overflow: hidden;
  border: 1px solid oklch(72% .16 295 / .34);
  border-radius: 16px;
  color: oklch(96% .012 285);
  background: oklch(12% .025 275);
  box-shadow: 0 8px 8px oklch(0% 0 0 / .32);
  transform-origin: bottom right;
  animation: lb-chat-in .32s var(--ease-sharp) both;
}

@keyframes lb-chat-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lb-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border-bottom: 1px solid oklch(100% 0 0 / .1);
  background: oklch(18% .06 292);
}
.lb-chat-head img { width: 44px; height: 44px; }
.lb-chat-head > div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.lb-chat-head strong { font-size: 15px; line-height: 1.25; }
.lb-chat-head span { color: oklch(82% .035 285); font-size: 12px; }
.lb-chat-head i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: oklch(76% .15 160); }
.lb-chat-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font: 400 27px/1 system-ui, sans-serif;
}
.lb-chat-close:hover { background: oklch(100% 0 0 / .1); }

.lb-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: calc(100% - 204px);
  padding: 18px 14px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.lb-chat-message {
  width: fit-content;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.42;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  text-wrap: pretty;
}
.lb-chat-message-bot { align-self: flex-start; background: oklch(22% .035 275); }
.lb-chat-message-user { align-self: flex-end; color: #fff; background: oklch(50% .18 294); }
.lb-chat-message-pending { align-self: flex-start; color: oklch(76% .035 285); background: transparent; font-size: 13px; }
.lb-chat-message-error { align-self: flex-start; color: oklch(88% .08 25); background: oklch(25% .07 25); }

.lb-chat-actions { padding: 0 14px 10px; }
.lb-chat-actions a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  color: oklch(94% .02 160);
  background: oklch(34% .11 160);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.lb-chat-actions a:hover { background: oklch(39% .12 160); }

.lb-chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 14px;
  padding: 8px;
  border: 1px solid oklch(100% 0 0 / .15);
  border-radius: 12px;
  background: oklch(17% .025 275);
}
.lb-chat-form:focus-within { border-color: oklch(72% .16 295 / .72); }
.lb-chat-form textarea {
  flex: 1;
  min-height: 38px;
  max-height: 112px;
  resize: none;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: 14px/1.45 inherit;
}
.lb-chat-form textarea::placeholder { color: oklch(72% .025 285); }
.lb-chat-form button {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: oklch(55% .2 294);
  cursor: pointer;
  font: 700 21px/1 system-ui, sans-serif;
}
.lb-chat-form button:disabled { cursor: wait; opacity: .55; }
.lb-chat-note { margin: 7px 14px 0; color: oklch(68% .025 285); font-size: 10px; text-align: center; }

@media (max-width: 560px) {
  .lb-chat { right: 12px; bottom: 12px; left: 12px; }
  .lb-chat-panel { width: 100%; height: min(620px, calc(100dvh - 88px)); min-height: 0; }
  .lb-chat-messages { padding: 14px 12px; }
  .lb-chat-message { max-width: 92%; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .lb-chat-panel { animation: none; }
}
