﻿:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: rgba(14, 16, 20, 0.82);
  --panel-strong: rgba(18, 21, 27, 0.94);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f4f7fb;
  --muted: #a6afc0;
  --acid: #c7ff4a;
  --cyan: #48e5ff;
  --pink: #ff4fd8;
  --orange: #ff9b3d;
  --violet: #8d7dff;
  --shadow: rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::selection {
  background: var(--acid);
  color: #050506;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(72, 229, 255, 0.12), transparent 26%),
    radial-gradient(circle at 78% 35%, rgba(255, 79, 216, 0.12), transparent 24%),
    radial-gradient(circle at 48% 86%, rgba(199, 255, 74, 0.12), transparent 28%),
    #050506;
}

.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.18), rgba(5, 5, 6, 0.84));
  pointer-events: none;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(500px) rotateX(58deg) translateY(-18%);
  transform-origin: center top;
}

.float-shot {
  position: absolute;
  display: block;
  width: clamp(220px, 24vw, 430px);
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent, rgba(5, 5, 6, 0.72)),
    var(--shot) center / cover;
  box-shadow: 0 28px 80px var(--shadow);
  filter: saturate(1.12) contrast(1.04);
  opacity: 0.58;
  overflow: hidden;
  text-decoration: none;
  animation: drift var(--speed) ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.float-shot span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  text-shadow: 0 2px 18px #000;
}

.shot-one {
  top: 12vh;
  left: -3vw;
  transform: rotate(-8deg);
}

.shot-two {
  top: 8vh;
  right: -3vw;
  transform: rotate(7deg);
}

.shot-three {
  left: 5vw;
  bottom: 6vh;
  transform: rotate(6deg);
}

.shot-four {
  right: 8vw;
  bottom: 18vh;
  transform: rotate(-6deg);
}

@keyframes drift {
  0% {
    translate: 0 0;
  }
  45% {
    translate: 32px -28px;
  }
  100% {
    translate: -24px 34px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.62);
  backdrop-filter: blur(18px);
}

.brand,
.header-nav,
.hero-actions,
.meta-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: #050506;
  box-shadow: 0 0 28px rgba(199, 255, 74, 0.42);
}

.header-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.header-nav a {
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--acid);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.panel {
  --lag-y: 0px;
  transform: translate3d(0, var(--lag-y), 0);
  transition: transform 120ms linear;
  will-change: transform;
}

.hero {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 70px);
  padding: clamp(72px, 12vw, 144px) 0 clamp(42px, 8vw, 88px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(3.8rem, 9vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 860;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button.primary {
  border-color: transparent;
  background: var(--acid);
  color: #050506;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button:hover,
.project-panel:hover .project-image {
  transform: translateY(-2px);
}

.ticker {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 28px;
  padding: 15px 0;
  animation: marquee 32s linear infinite;
}

.ticker span {
  color: rgba(244, 247, 251, 0.74);
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 82px 0 46px;
}

.intro div,
.seo-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.intro div {
  padding: clamp(20px, 4vw, 32px);
}

.stat-number,
.stat-label {
  display: block;
}

.stat-number {
  color: var(--cyan);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 950;
}

.stat-label {
  color: var(--muted);
  font-weight: 800;
}

.project-stack {
  padding: 24px 0 68px;
}

.project-panel {
  position: sticky;
  top: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(22px, 5vw, 62px);
  align-items: center;
  min-height: min(760px, calc(100vh - 112px));
  margin: 0 0 12vh;
  padding: clamp(18px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(20px);
}

.project-panel.reverse {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
}

.project-panel.reverse .project-image {
  order: 2;
}

.project-image {
  position: relative;
  display: block;
  min-height: clamp(280px, 52vw, 560px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(180deg, transparent 48%, rgba(5, 5, 6, 0.72)),
    var(--image) center / cover;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
  overflow: hidden;
  transition: transform 240ms ease, filter 240ms ease;
}

.project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18), transparent 42%);
  transform: translateX(-100%);
  animation: scan 6s ease-in-out infinite;
}

.project-image::after {
  content: "Open project";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(5, 5, 6, 0.62);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

@keyframes scan {
  0%, 58%, 100% {
    transform: translateX(-120%);
  }
  74% {
    transform: translateX(120%);
  }
}

.project-copy {
  max-width: 560px;
}

h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5.8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 a {
  text-decoration-color: rgba(199, 255, 74, 0.52);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.14em;
}

.project-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.meta-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.meta-row span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d9e0eb;
  font-size: 0.84rem;
  font-weight: 820;
}

.seo-panel {
  margin: 0 0 84px;
  padding: clamp(24px, 5vw, 44px);
}

.seo-panel h2 {
  max-width: 900px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.seo-grid p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 760;
}

.site-footer a {
  color: var(--acid);
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    justify-content: flex-start;
  }

  .intro,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .project-panel,
  .project-panel.reverse {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    min-height: auto;
    margin-bottom: 28px;
  }

  .project-panel.reverse .project-image {
    order: 0;
  }

  .float-shot {
    opacity: 0.26;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 28px, 1180px);
  }

  .brand span:last-child {
    max-width: 220px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .project-image {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .panel {
    transform: none !important;
  }
}



.shot-five {
  top: 42vh;
  right: 24vw;
  transform: rotate(4deg);
}


.mockup {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(18px, 4vw, 34px);
  text-decoration: none;
}

.project-image.mockup::after {
  content: "Open project";
}

.mockup-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.78;
}

.mockup strong {
  display: block;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.pawnvault-mockup {
  border-color: rgba(255, 190, 82, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 190, 82, 0.08), rgba(0, 0, 0, 0.82)),
    repeating-linear-gradient(0deg, rgba(255, 190, 82, 0.05) 0 1px, transparent 1px 12px),
    #080705;
  color: #ffbe52;
  font-family: "Cascadia Mono", Consolas, monospace;
  box-shadow: 0 34px 110px rgba(255, 154, 46, 0.12), 0 34px 100px rgba(0, 0, 0, 0.46);
}

.pawnvault-mockup strong {
  color: #ffd28a;
  text-shadow: 0 0 24px rgba(255, 190, 82, 0.28);
}

.terminal-line,
.terminal-prompt,
.terminal-grid {
  border: 1px solid rgba(255, 190, 82, 0.34);
  background: rgba(255, 190, 82, 0.05);
  color: #ffd28a;
}

.terminal-line,
.terminal-prompt {
  padding: 10px 12px;
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
}

.terminal-grid {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  font-size: clamp(0.82rem, 1.5vw, 0.98rem);
}

.terminal-grid b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  background: #ffbe52;
  color: #080705;
}

.terminal-prompt {
  color: #ffefc8;
}

.hoa-mockup {
  border-color: rgba(72, 229, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(72, 229, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #071018;
  color: #f4f7fb;
}

.hoa-mockup strong {
  color: #ffffff;
}

.hoa-row,
.hoa-status {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.hoa-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  color: #dbe7f5;
  font-weight: 750;
}

.hoa-row b {
  color: var(--cyan);
  font-size: 1.28rem;
}

.hoa-status {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 820;
}

.detail-body {
  background: var(--bg);
}

.detail-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: clamp(64px, 10vw, 118px) 0 clamp(48px, 8vw, 92px);
}

.detail-copy h1 {
  max-width: 850px;
}

.detail-visual {
  min-height: clamp(420px, 55vw, 620px);
  border-radius: 28px;
}

.detail-section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.detail-grid article,
.detail-list p {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.detail-grid article {
  padding: 22px;
}

.detail-grid h3 {
  margin: 0;
  font-size: 1.18rem;
}

.detail-grid p,
.detail-list p {
  color: var(--muted);
  line-height: 1.58;
}

.detail-grid p {
  margin: 12px 0 0;
}

.split-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-list p {
  margin: 0;
  padding: 18px;
}

.detail-list strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .detail-hero,
  .split-detail,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    min-height: auto;
  }
}

