:root {
  --bg: #09090b;
  --bg-soft: #0f0f12;
  --surface: #121216;
  --surface-2: #17171c;
  --cream: #f2efe7;
  --cream-soft: #faf8f2;
  --ink: #0b0b0d;
  --lime: #d9ff4d;
  --lime-dim: #b6d936;
  --coral: #ff6448;
  --violet: #a89bff;
  --text: #f4f1e9;
  --muted: #9a9aa4;
  --muted-dark: #6b6b74;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(11, 11, 13, 0.14);
  --container: 1240px;
  --header-height: 88px;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

body.nav-open {
  overflow: hidden;
}

body.custom-cursor {
  cursor: none;
}

body.custom-cursor a,
body.custom-cursor button {
  cursor: none;
}

body.custom-cursor input,
body.custom-cursor textarea {
  cursor: text;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--bg);
  border-radius: 999px;
  background: #37373e;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--lime);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.container {
  width: min(100% - 56px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 10005;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 100%;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(217, 255, 77, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 255, 77, 0.08), transparent 34%),
    var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.page-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.loader-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(217, 255, 77, 0.34);
  border-radius: 22px;
  background: rgba(217, 255, 77, 0.06);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  box-shadow: 0 0 50px rgba(217, 255, 77, 0.1);
  animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader-bar {
  width: 190px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.loader-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lime);
  transform: scaleX(var(--load, 0));
  transform-origin: left;
  transition: transform 0.2s linear;
}

.loader-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.loader-percent {
  position: absolute;
  right: 30px;
  bottom: 24px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10002;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--lime);
  will-change: transform;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(217, 255, 77, 0.46);
  will-change: transform;
  transition: opacity 0.2s ease, width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), border-color 0.25s ease, background-color 0.25s ease;
}

body.custom-cursor .cursor-dot,
body.custom-cursor .cursor-ring {
  opacity: 1;
}

body.custom-cursor .cursor-ring.is-active {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-color: rgba(217, 255, 77, 0.75);
  background: rgba(217, 255, 77, 0.08);
}

body.custom-cursor .cursor-dot.is-hidden,
body.custom-cursor .cursor-ring.is-hidden {
  opacity: 0;
}

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.94);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}

.btn span {
  font-size: 1.05em;
  transition: transform 0.25s var(--ease);
}

.btn:hover span {
  transform: translate(2px, -2px);
}

.btn--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(217, 255, 77, 0.12);
}

.btn--lime:hover {
  background: #e4ff78;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(217, 255, 77, 0.22);
}

.btn--outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
}

.btn--small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.83rem;
}

.btn--full {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(9, 9, 11, 0.82);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  transform: rotate(-4deg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.brand:hover .brand-symbol {
  transform: rotate(0deg);
  box-shadow: 0 0 30px rgba(217, 255, 77, 0.24);
}

.brand-name {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: rgba(244, 241, 233, 0.62);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-foot {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 241, 233, 0.62);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.availability i,
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(217, 255, 77, 0.1);
}

.availability i::after,
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(217, 255, 77, 0.42);
  border-radius: 50%;
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  0% {
    opacity: 0.8;
    transform: scale(0.55);
  }
  75%, 100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: top 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-toggle span:first-child {
  top: 18px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 72px);
  background:
    radial-gradient(circle at 78% 28%, rgba(217, 255, 77, 0.11), transparent 26%),
    radial-gradient(circle at 10% 82%, rgba(168, 155, 255, 0.08), transparent 28%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  top: 18%;
  right: 5%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(217, 255, 77, 0.12), rgba(255, 100, 72, 0.08), rgba(168, 155, 255, 0.1), rgba(217, 255, 77, 0.12));
  filter: blur(110px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 430px);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
  min-height: calc(100svh - var(--header-height) - 210px);
}

.hero-copy {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: rgba(244, 241, 233, 0.6);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 790px;
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 5.55vw, 5.2rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero h1 > span {
  display: block;
}

.hero h1 em,
.work-head h2 em,
.services-head h2 em,
.process-intro h2 em,
.contact-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero h1 em {
  color: var(--lime);
  font-size: 1.1em;
}

.hero-lower {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin-top: 38px;
}

.hero-lower > p {
  max-width: 530px;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.15vw, 1.05rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 430px;
  justify-self: end;
}

.visual-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: linear-gradient(155deg, #19191e, #0c0c0f 70%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  transform: rotate(1.5deg);
  transition: transform 0.6s var(--ease), border-color 0.4s ease;
}

.visual-shell:hover {
  border-color: rgba(217, 255, 77, 0.28);
  transform: rotate(0deg);
}

.visual-top,
.visual-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.visual-top {
  color: rgba(244, 241, 233, 0.48);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-stage {
  position: relative;
  display: grid;
  flex: 1;
  place-items: center;
  margin: 14px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 19px;
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 255, 77, 0.12), transparent 34%),
    radial-gradient(circle at 26% 82%, rgba(168, 155, 255, 0.08), transparent 30%),
    #09090b;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.orbital {
  position: relative;
  display: grid;
  width: 57%;
  aspect-ratio: 1;
  place-items: center;
}

.orb {
  position: relative;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #fbffdd 0%, #d9ff4d 18%, #9cc629 44%, #43560d 72%, #131806 100%);
  box-shadow:
    inset -24px -32px 55px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(217, 255, 77, 0.25);
  animation: orbFloat 7s ease-in-out infinite;
}

.orb::after {
  content: "";
  position: absolute;
  top: 11%;
  left: 17%;
  width: 32%;
  height: 20%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  filter: blur(9px);
  transform: rotate(-24deg);
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(217, 255, 77, 0.22);
  border-radius: 50%;
  animation: orbitSpin 22s linear infinite;
}

.orbit--one::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 12%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(217, 255, 77, 0.8);
}

.orbit--two {
  inset: 12%;
  border-color: rgba(255, 255, 255, 0.09);
  border-style: dashed;
  animation-duration: 30s;
  animation-direction: reverse;
}

.orbit-dot {
  position: absolute;
  right: 6%;
  bottom: 22%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 14px rgba(255, 100, 72, 0.9);
}

@keyframes orbFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-9px) scale(1.025);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

.visual-tag {
  position: absolute;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.86);
  color: rgba(244, 241, 233, 0.74);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-tag--one {
  top: 16%;
  left: 7%;
  transform: rotate(-6deg);
}

.visual-tag--two {
  top: 43%;
  right: 4%;
  transform: rotate(4deg);
}

.visual-tag--three {
  bottom: 15%;
  left: 11%;
  transform: rotate(-3deg);
}

.visual-bottom {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.visual-bottom > div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.visual-bottom strong {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.visual-bottom span:not(.visual-arrow) {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.visual-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.95rem;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  animation: chipFloat 6s ease-in-out infinite;
}

.floating-chip--top {
  top: 76px;
  right: -28px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.floating-chip--top .pulse-dot {
  background: #4c8f2d;
  box-shadow: 0 0 0 4px rgba(76, 143, 45, 0.12);
}

.floating-chip--top .pulse-dot::after {
  border-color: rgba(76, 143, 45, 0.4);
}

.floating-chip--bottom {
  bottom: 72px;
  left: -34px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(18, 18, 22, 0.94);
  color: var(--text);
  animation-delay: -2.6s;
}

.floating-chip--bottom span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.47rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.floating-chip--bottom strong {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
}

@keyframes chipFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 62px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 241, 233, 0.5);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.scroll-cue:hover {
  color: var(--lime);
}

.scroll-line {
  position: relative;
  width: 38px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }
  50%, 100% {
    transform: translateX(100%);
  }
}

.hero-meta {
  display: flex;
  gap: 24px;
  color: rgba(244, 241, 233, 0.42);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.hero-meta span + span::before {
  content: "✦";
  color: var(--lime);
  font-size: 0.48rem;
}

.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(9, 9, 11, 0.15);
  border-bottom: 1px solid rgba(9, 9, 11, 0.15);
  background: var(--lime);
  color: var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}

.marquee-group span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group i {
  font-style: normal;
  font-size: 0.9rem;
}

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

.section {
  position: relative;
  padding: clamp(96px, 10vw, 140px) 0;
}

.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: rgba(11, 11, 13, 0.56);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-top--dark {
  border-color: var(--line);
  color: rgba(244, 241, 233, 0.46);
}

.section-top--ink {
  border-color: rgba(11, 11, 13, 0.2);
  color: rgba(11, 11, 13, 0.6);
}

.section-no {
  color: currentColor;
}

.section-note {
  color: currentColor;
  opacity: 0.78;
}

.about {
  z-index: 4;
  margin-top: -16px;
  border-radius: 44px 44px 0 0;
  background: var(--cream);
  color: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: start;
  gap: clamp(48px, 7vw, 100px);
  margin-top: clamp(52px, 6vw, 78px);
}

.about h2,
.services-head h2,
.work-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.about h2 em {
  color: var(--coral);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 570px;
}

.about-body p {
  color: #6d685f;
  font-size: 0.97rem;
  line-height: 1.8;
}

.about-body .about-lead {
  color: #38352f;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.65;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
}

.signature-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 0.63rem;
  font-weight: 700;
}

.about-signature > div {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.about-signature strong {
  font-size: 0.85rem;
  font-weight: 600;
}

.about-signature span:not(.signature-mark) {
  color: #858075;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: clamp(62px, 7vw, 92px);
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat + .stat {
  padding-left: clamp(22px, 4vw, 52px);
  border-left: 1px solid var(--line-dark);
}

.stat strong {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.stat sup {
  margin-top: 4px;
  color: #748e1f;
  font-family: var(--font-display);
  font-size: 0.34em;
  font-weight: 500;
}

.stat span {
  color: #7b766c;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(217, 255, 77, 0.07), transparent 24%),
    radial-gradient(circle at 5% 70%, rgba(168, 155, 255, 0.05), transparent 24%),
    var(--bg);
  color: var(--text);
}

.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-top: clamp(44px, 5vw, 64px);
  margin-bottom: clamp(44px, 5vw, 64px);
}

.work-head h2 {
  color: var(--text);
}

.work-head h2 em {
  color: var(--lime);
}

.work-head > p {
  max-width: 380px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  transition: transform 0.5s var(--ease), border-color 0.4s ease, box-shadow 0.5s ease;
}

.project:hover {
  border-color: rgba(217, 255, 77, 0.24);
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.project--wide {
  grid-column: span 2;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  padding: 38px;
}

.project--wide .project-visual {
  min-height: 565px;
  padding: 52px;
}

.project-visual--finance {
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 255, 77, 0.16), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(168, 155, 255, 0.1), transparent 30%),
    linear-gradient(142deg, #171914 0%, #0d0f0a 64%, #1a1d10 100%);
}

.project-visual--finance::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(130deg, transparent 38%, black);
  -webkit-mask-image: linear-gradient(130deg, transparent 38%, black);
}

.finance-ui {
  position: relative;
  width: min(100%, 780px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(10, 12, 8, 0.93);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(-1deg);
  transition: transform 0.6s var(--ease);
}

.project:hover .finance-ui {
  transform: rotate(0deg) scale(1.01);
}

.finance-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 17px 21px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.finance-logo {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.finance-tabs {
  color: #7b8174;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.03em;
}

.finance-pill {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(217, 255, 77, 0.1);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.48rem;
}

.finance-body {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
}

.finance-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
}

.finance-side span {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
}

.finance-side span.is-active {
  background: rgba(217, 255, 77, 0.18);
  box-shadow: inset 0 0 0 1px rgba(217, 255, 77, 0.35);
}

.finance-main {
  min-width: 0;
  padding: 24px 24px 22px;
}

.finance-heading {
  display: grid;
  gap: 3px;
}

.finance-heading span {
  color: #7d8574;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finance-heading strong {
  color: #f2f4e9;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.finance-heading small {
  color: var(--lime);
  font-size: 0.56rem;
  font-weight: 500;
}

.finance-chart-card {
  margin-top: 18px;
  padding: 15px 16px 10px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.finance-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #b3b9ab;
  font-size: 0.56rem;
}

.finance-chart-head span:last-child {
  color: #697062;
  font-family: var(--font-mono);
  font-size: 0.46rem;
}

.finance-chart {
  width: 100%;
  height: 110px;
  margin-top: 8px;
  overflow: visible;
}

.finance-axis {
  display: flex;
  justify-content: space-between;
  color: #5f6659;
  font-family: var(--font-mono);
  font-size: 0.43rem;
}

.finance-mini-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 10px;
}

.finance-mini-row > span {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.finance-mini-row i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.finance-mini-row b {
  color: #777e70;
  font-size: 0.46rem;
  font-weight: 500;
}

.finance-mini-row strong {
  color: #cfd5c5;
  font-family: var(--font-mono);
  font-size: 0.46rem;
  font-weight: 500;
}

.project-tag,
.health-chip {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-tag {
  top: 22px;
  right: 22px;
  padding: 8px 12px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 500;
}

.project-visual--health {
  background:
    radial-gradient(circle at 22% 15%, rgba(208, 255, 214, 0.3), transparent 32%),
    radial-gradient(circle at 86% 85%, rgba(217, 255, 77, 0.16), transparent 26%),
    linear-gradient(145deg, #254038, #182a24 58%, #101b17);
}

.project-visual--health::before {
  content: "";
  position: absolute;
  top: -115px;
  right: -80px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(217, 255, 77, 0.16);
  border-radius: 50%;
}

.phone-mock {
  position: relative;
  width: 198px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 34px;
  background: #101b17;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(-5deg);
  transition: transform 0.6s var(--ease);
}

.project:hover .phone-mock {
  transform: rotate(0deg) translateY(-4px);
}

.phone-speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.46);
  transform: translateX(-50%);
}

.phone-ui {
  min-height: 352px;
  padding: 28px 15px 18px;
  overflow: hidden;
  border-radius: 27px;
  background: linear-gradient(170deg, #1e352d, #10201a 72%);
  color: #eaf4ed;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
}

.phone-avatar {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.41rem;
  font-weight: 700;
}

.phone-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 25px auto 19px;
}

.phone-ring svg {
  width: 100%;
  height: 100%;
}

.phone-ring > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.phone-ring strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.phone-ring span {
  color: #83a393;
  font-size: 0.43rem;
}

.phone-metrics {
  display: flex;
  gap: 7px;
}

.phone-metrics span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  padding: 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: #8eaa9c;
  font-size: 0.42rem;
}

.phone-metrics strong {
  color: #edf5ef;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
}

.phone-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 42px;
  margin-top: 17px;
  padding: 0 2px;
}

.phone-bars i {
  flex: 1;
  border-radius: 2px;
  background: rgba(217, 255, 77, 0.3);
}

.phone-bars i:nth-child(1) { height: 26%; }
.phone-bars i:nth-child(2) { height: 42%; }
.phone-bars i:nth-child(3) { height: 35%; }
.phone-bars i:nth-child(4) { height: 58%; }
.phone-bars i:nth-child(5) { height: 48%; }
.phone-bars i:nth-child(6) { height: 78%; }
.phone-bars i:nth-child(7) { height: 100%; background: var(--lime); }

.health-chip {
  right: 22px;
  bottom: 22px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 9, 11, 0.78);
  color: #d6efdc;
}

.project-visual--form {
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(140deg, #ff7150, #e84b33 54%, #982a1c);
}

.project-visual--form::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 100%;
  mask-image: linear-gradient(to right, transparent, black);
  -webkit-mask-image: linear-gradient(to right, transparent, black);
}

.poster-mock {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, 300px);
  min-height: 330px;
  padding: 22px;
  overflow: hidden;
  border-radius: 4px;
  background: #f3f0e8;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(60, 13, 6, 0.3);
  transform: rotate(3deg);
  transition: transform 0.6s var(--ease);
}

.project:hover .poster-mock {
  transform: rotate(0deg) translateY(-4px);
}

.poster-index {
  position: relative;
  z-index: 2;
  color: #756e60;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
}

.poster-word {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 5.2vw, 4.8rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.09em;
}

.poster-caption {
  position: relative;
  z-index: 2;
  color: #6a6458;
  font-size: 0.58rem;
}

.poster-circle {
  position: absolute;
  right: -46px;
  bottom: -62px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--lime);
}

.poster-dot {
  position: absolute;
  right: 50px;
  bottom: 44px;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 27px 25px;
  border-top: 1px solid var(--line);
}

.project-category {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.project-meta p {
  color: var(--muted);
  font-size: 0.81rem;
}

.project-arrow {
  display: grid;
  flex: none;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  font-size: 1rem;
  transition: transform 0.4s var(--ease), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.project:hover .project-arrow {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  transform: rotate(8deg);
}

.work-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-note > span {
  color: var(--muted);
}

.work-note a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--lime);
  color: var(--lime);
  transition: gap 0.25s ease;
}

.work-note a:hover {
  gap: 14px;
}

.services {
  z-index: 3;
  margin-top: -1px;
  border-radius: 44px 44px 0 0;
  background: var(--cream);
  color: var(--ink);
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-top: clamp(44px, 5vw, 64px);
  margin-bottom: clamp(44px, 5vw, 64px);
}

.services-head h2 {
  max-width: 700px;
}

.services-head h2 em {
  color: var(--coral);
}

.services-head > p {
  max-width: 385px;
  padding-bottom: 8px;
  color: #6f6a61;
  font-size: 0.94rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #d8d3c8;
  border-radius: 26px;
  background: var(--cream-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(53, 46, 31, 0.1);
}

.service-card--wide {
  grid-column: span 7;
  min-height: 360px;
}

.service-card--lime {
  grid-column: span 5;
  border-color: transparent;
  background: var(--lime);
}

.service-card--dark {
  grid-column: span 5;
  border-color: transparent;
  background: var(--ink);
  color: var(--text);
}

.service-card--code {
  grid-column: span 7;
  background: #ece7dc;
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-index {
  color: #979185;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(11, 11, 13, 0.13);
  border-radius: 50%;
  color: var(--ink);
}

.service-icon svg {
  width: 19px;
  height: 19px;
}

.service-card--dark .service-index {
  color: rgba(244, 241, 233, 0.4);
}

.service-card--dark .service-icon {
  border-color: var(--line-strong);
  color: var(--lime);
}

.service-content {
  position: relative;
  z-index: 2;
  max-width: 60%;
  margin-top: auto;
}

.service-card--wide .service-content,
.service-card--code .service-content {
  max-width: 62%;
}

.service-content h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.service-content p {
  color: #716c62;
  font-size: 0.86rem;
  line-height: 1.7;
}

.service-card--lime .service-content p {
  color: rgba(11, 11, 13, 0.7);
}

.service-card--dark .service-content p {
  color: var(--muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.service-tags span {
  padding: 6px 10px;
  border: 1px solid rgba(11, 11, 13, 0.15);
  border-radius: 999px;
  color: #666156;
  font-family: var(--font-mono);
  font-size: 0.49rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-card--lime .service-tags span {
  border-color: rgba(11, 11, 13, 0.22);
  color: rgba(11, 11, 13, 0.72);
}

.service-card--dark .service-tags span {
  border-color: var(--line-strong);
  color: rgba(244, 241, 233, 0.6);
}

.service-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.service-art--browser {
  right: 26px;
  bottom: -28px;
  width: 37%;
  min-width: 190px;
}

.mini-browser {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(11, 11, 13, 0.14);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 18px 40px rgba(53, 46, 31, 0.1);
  transform: rotate(-4deg);
  transition: transform 0.5s var(--ease);
}

.service-card:hover .mini-browser {
  transform: rotate(0deg) translateY(-5px);
}

.mini-browser-top {
  display: flex;
  gap: 4px;
}

.mini-browser-top i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d2ccc0;
}

.mini-hero {
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--ink), #373a2b);
}

.mini-line {
  width: 82%;
  height: 4px;
  border-radius: 999px;
  background: #e1dcd2;
}

.mini-line--short {
  width: 54%;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 2px;
}

.mini-grid i {
  height: 25px;
  border-radius: 4px;
  background: #ece7de;
}

.mini-grid i:nth-child(2) {
  background: var(--lime);
}

.service-art--code {
  right: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 32%;
  color: #8a8478;
  font-family: var(--font-mono);
  font-size: clamp(0.5rem, 0.7vw, 0.6rem);
  line-height: 1.7;
  white-space: nowrap;
}

.service-art--code span:first-child,
.service-art--code span:last-child {
  color: #b2aa9b;
}

.service-art--code b {
  color: var(--coral);
  font-weight: 500;
}

.process {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 20%, rgba(168, 155, 255, 0.07), transparent 27%),
    radial-gradient(circle at 0% 80%, rgba(217, 255, 77, 0.05), transparent 26%),
    var(--bg);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: calc(var(--header-height) + 38px);
}

.process-intro h2 {
  margin-top: clamp(44px, 5vw, 62px);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.1vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.process-intro h2 em {
  color: var(--lime);
}

.process-intro > p {
  max-width: 460px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.process-note {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 350px;
  margin-top: 36px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.process-note-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: rgba(217, 255, 77, 0.09);
  color: var(--lime);
}

.process-note-icon svg {
  width: 20px;
  height: 20px;
}

.process-note > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.process-note span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.process-note strong {
  font-size: 0.77rem;
  font-weight: 500;
}

.process-list {
  padding-top: 17px;
}

.process-item {
  border-top: 1px solid var(--line);
}

.process-item:last-child {
  border-bottom: 1px solid var(--line);
}

.process-trigger {
  display: grid;
  grid-template-columns: 46px 1fr 28px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 27px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.process-trigger:hover {
  color: var(--lime);
}

.process-number {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
}

.process-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.process-plus {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), border-color 0.25s ease, background-color 0.25s ease;
}

.process-plus::before,
.process-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.process-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.3s ease;
}

.process-item.is-open .process-plus {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  transform: rotate(45deg);
}

.process-item.is-open .process-plus::after {
  opacity: 0;
}

.process-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.35s ease, padding-bottom 0.45s var(--ease);
}

.process-item.is-open .process-panel {
  max-height: 240px;
  padding-bottom: 27px;
  opacity: 1;
}

.process-panel p {
  max-width: 500px;
  margin-left: 62px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.building {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: -1px;
  border-radius: 44px 44px 0 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.3), transparent 28%),
    radial-gradient(circle at 8% 82%, rgba(255, 100, 72, 0.13), transparent 24%),
    var(--lime);
  color: var(--ink);
}

.building::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(11, 11, 13, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(125deg, transparent 35%, black 100%);
  -webkit-mask-image: linear-gradient(125deg, transparent 35%, black 100%);
}

.building .container {
  position: relative;
  z-index: 1;
}

.building-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(26px, 5vw, 70px);
  margin: clamp(50px, 6vw, 76px) 0 clamp(36px, 4vw, 54px);
}

.building-head h2 {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.building-head h2 em {
  color: var(--coral);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.building-head > p {
  max-width: 390px;
  padding-bottom: 10px;
  color: rgba(11, 11, 13, 0.64);
  font-size: 0.94rem;
  line-height: 1.75;
}

.building-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.build-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 282px;
  padding: 26px 28px 28px;
  overflow: hidden;
  border: 1px solid rgba(11, 11, 13, 0.16);
  border-radius: 26px;
  background: rgba(250, 248, 242, 0.92);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease, border-color 0.35s ease;
}

.build-card::before {
  content: "";
  position: absolute;
  top: -48px;
  right: -48px;
  width: 160px;
  height: 160px;
  pointer-events: none;
  border: 1px solid rgba(11, 11, 13, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(11, 11, 13, 0.025);
  transition: transform 0.6s var(--ease), border-color 0.35s ease;
}

.build-card:hover::before {
  border-color: rgba(11, 11, 13, 0.26);
  transform: scale(1.18) translate(-4px, 4px);
}

.build-card--frontend {
  grid-column: span 7;
}

.build-card--html {
  grid-column: span 5;
}

.build-card--javascript {
  grid-column: span 5;
}

.build-card--responsive {
  grid-column: span 7;
}

.build-card--react {
  grid-column: span 12;
  min-height: 245px;
  border-color: transparent;
  background: var(--ink);
  color: var(--text);
}

.build-card--react::before {
  border-color: rgba(217, 255, 77, 0.2);
  box-shadow: 0 0 0 28px rgba(217, 255, 77, 0.025);
}

.build-card--react:hover::before {
  border-color: rgba(217, 255, 77, 0.35);
}

body.reveal-ready .build-card.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(53, 46, 31, 0.14);
}

body.reveal-ready .build-card--react.is-visible:hover {
  box-shadow: 0 26px 60px rgba(11, 11, 13, 0.24);
}

.build-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.build-index {
  color: rgba(11, 11, 13, 0.45);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.build-status {
  padding: 7px 11px;
  border: 1px solid rgba(11, 11, 13, 0.16);
  border-radius: 999px;
  color: rgba(11, 11, 13, 0.62);
  font-family: var(--font-mono);
  font-size: 0.47rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.build-card-body {
  position: relative;
  z-index: 1;
  max-width: 72%;
  margin-top: auto;
  padding-top: 46px;
}

.build-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.build-card p {
  color: #6f6a61;
  font-size: 0.85rem;
  line-height: 1.7;
}

.build-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.build-tags span {
  padding: 6px 10px;
  border: 1px solid rgba(11, 11, 13, 0.15);
  border-radius: 999px;
  color: #666156;
  font-family: var(--font-mono);
  font-size: 0.49rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.build-card--react .build-index {
  color: rgba(244, 241, 233, 0.42);
}

.build-card--react .build-status {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(244, 241, 233, 0.62);
}

.build-card--react p {
  color: var(--muted);
}

.build-card--react .build-tags span {
  border-color: var(--line-strong);
  color: rgba(244, 241, 233, 0.64);
}

.build-card--react .build-card-body {
  max-width: 58%;
}

.building-note {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 34px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(11, 11, 13, 0.2);
}

.building-note span {
  flex: none;
  color: rgba(11, 11, 13, 0.55);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.building-note p {
  max-width: 590px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: right;
}

.contact {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 32%, rgba(217, 255, 77, 0.06), transparent 25%),
    radial-gradient(circle at 12% 90%, rgba(168, 155, 255, 0.06), transparent 24%),
    var(--bg);
}

.contact-glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 255, 77, 0.1), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
  margin-top: clamp(56px, 7vw, 88px);
}

.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.8vw, 5.65rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-copy h2 em {
  color: var(--lime);
}

.contact-copy > p {
  max-width: 440px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 34px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(217, 255, 77, 0.45);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

.contact-email:hover {
  gap: 18px;
  border-color: var(--lime);
  color: var(--lime);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.contact-socials a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.contact-socials a:hover {
  border-color: rgba(217, 255, 77, 0.5);
  background: rgba(217, 255, 77, 0.06);
  color: var(--lime);
}

.contact-form {
  padding: clamp(26px, 3.5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.field label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(244, 241, 233, 0.58);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.optional {
  color: var(--muted-dark);
  font-size: 0.48rem;
  text-transform: none;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field select {
  padding-right: 24px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23d9ff4d' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 11px 8px;
  cursor: pointer;
}

.field select:invalid {
  color: #5f5f68;
}

.field select option {
  background: #141418;
  color: var(--text);
}

.field textarea {
  min-height: 105px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f5f68;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--lime);
  box-shadow: 0 1px 0 var(--lime);
}

.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid {
  border-color: var(--coral);
}

.contact-form .btn {
  margin-top: 5px;
}

.form-note {
  margin-top: 13px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(217, 255, 77, 0.08);
  color: var(--lime);
  font-size: 0.77rem;
  line-height: 1.5;
  text-align: center;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: rgba(255, 100, 72, 0.1);
  color: #ff9d8c;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  border-top: 1px solid var(--line);
  background: #070708;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 60px;
  padding-bottom: 54px;
}

.footer-brand p {
  max-width: 350px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer-email {
  display: inline-block;
  margin-top: 17px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(244, 241, 233, 0.76);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-email:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.footer-nav {
  display: flex;
  gap: clamp(50px, 8vw, 96px);
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-nav h3 {
  margin-bottom: 4px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a {
  color: #a8a8b0;
  font-size: 0.81rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-wordmark {
  margin: 20px -10px 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10.4vw, 9.2rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.075em;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(244, 241, 233, 0.15);
  user-select: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.04em;
}

.footer-bottom > div {
  display: flex;
  gap: 22px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  transition: color 0.2s ease, gap 0.25s ease;
}

.back-to-top:hover {
  gap: 11px;
  color: var(--lime);
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.reveal-ready .hero-badge {
  transition-delay: 0.04s;
}

body.reveal-ready .hero h1 {
  transition-delay: 0.1s;
}

body.reveal-ready .hero-lower {
  transition-delay: 0.18s;
}

body.reveal-ready .hero-visual {
  transition-delay: 0.22s;
}

body.reveal-ready .hero-foot {
  transition-delay: 0.3s;
}

body.reveal-ready .work-grid .project:nth-child(2) {
  transition-delay: 0.07s;
}

body.reveal-ready .work-grid .project:nth-child(3) {
  transition-delay: 0.14s;
}

body.reveal-ready .services-grid .service-card:nth-child(2) {
  transition-delay: 0.06s;
}

body.reveal-ready .services-grid .service-card:nth-child(3) {
  transition-delay: 0.12s;
}

body.reveal-ready .services-grid .service-card:nth-child(4) {
  transition-delay: 0.18s;
}

body.reveal-ready .stats-row .stat:nth-child(2) {
  transition-delay: 0.07s;
}

body.reveal-ready .stats-row .stat:nth-child(3) {
  transition-delay: 0.14s;
}

body.reveal-ready .building-grid .build-card:nth-child(2) {
  transition-delay: 0.06s;
}

body.reveal-ready .building-grid .build-card:nth-child(3) {
  transition-delay: 0.12s;
}

body.reveal-ready .building-grid .build-card:nth-child(4) {
  transition-delay: 0.18s;
}

body.reveal-ready .building-grid .build-card:nth-child(5) {
  transition-delay: 0.24s;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
    gap: 46px;
  }

  .floating-chip--top {
    right: -12px;
  }

  .floating-chip--bottom {
    left: -18px;
  }

  .service-content {
    max-width: 65%;
  }

  .service-art--browser {
    width: 32%;
    min-width: 170px;
  }

  .service-art--code {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 44px, var(--container));
  }

  .nav-toggle {
    display: inline-block;
    z-index: 1002;
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-height) + 52px) 28px 34px;
    background:
      radial-gradient(circle at 80% 15%, rgba(217, 255, 77, 0.1), transparent 28%),
      #09090b;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-24px);
    transition: opacity 0.4s var(--ease), visibility 0.4s, transform 0.4s var(--ease);
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 6vw, 2.3rem);
    font-weight: 500;
    letter-spacing: -0.04em;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    color: var(--lime);
  }

  .nav-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }

  .nav-foot > a:first-child {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 58px);
    padding-bottom: 36px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
    min-height: 0;
  }

  .hero h1 {
    max-width: 790px;
    font-size: clamp(3.4rem, 9vw, 5.4rem);
  }

  .hero-lower {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 470px;
    justify-self: center;
    margin-inline: auto;
  }

  .hero-foot {
    margin-top: 48px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-body {
    max-width: 650px;
  }

  .stats-row {
    gap: 0;
  }

  .work-head,
  .services-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .work-head > p,
  .services-head > p {
    max-width: 540px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .project--wide {
    grid-column: auto;
  }

  .project--wide .project-visual {
    min-height: 470px;
    padding: 38px;
  }

  .project-visual {
    min-height: 390px;
  }

  .finance-pill {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-card--wide,
  .service-card--lime,
  .service-card--dark,
  .service-card--code {
    grid-column: span 6;
  }

  .service-card--wide {
    min-height: 340px;
  }

  .service-content,
  .service-card--wide .service-content,
  .service-card--code .service-content {
    max-width: 64%;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .process-intro {
    position: static;
  }

  .process-intro > p {
    max-width: 620px;
  }

  .process-list {
    padding-top: 0;
  }

  .building-grid {
    grid-template-columns: 1fr 1fr;
  }

  .build-card--frontend,
  .build-card--html,
  .build-card--javascript,
  .build-card--responsive {
    grid-column: auto;
  }

  .build-card--react {
    grid-column: span 2;
  }

  .build-card-body,
  .build-card--react .build-card-body {
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-copy > p {
    max-width: 580px;
  }

  .contact-form {
    max-width: 680px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .section {
    padding: 96px 0;
  }

  .section-top {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .section-note {
    max-width: 50%;
    text-align: right;
  }

  .hero {
    padding-top: calc(var(--header-height) + 44px);
  }

  .hero h1 {
    font-size: clamp(2.85rem, 10.8vw, 4.25rem);
  }

  .hero-badge {
    margin-bottom: 23px;
  }

  .hero-lower {
    margin-top: 28px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    padding: 0 18px;
    font-size: 0.83rem;
  }

  .hero-visual {
    max-width: 410px;
  }

  .floating-chip--top {
    top: 48px;
    right: -4px;
  }

  .floating-chip--bottom {
    bottom: 52px;
    left: -4px;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 42px;
  }

  .hero-meta {
    gap: 17px;
  }

  .hero-meta span {
    gap: 17px;
  }

  .about {
    border-radius: 32px 32px 0 0;
  }

  .about-grid {
    margin-top: 44px;
  }

  .about h2,
  .services-head h2,
  .work-head h2 {
    font-size: clamp(2.45rem, 9vw, 3.5rem);
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 52px;
  }

  .stat {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-dark);
  }

  .stat + .stat {
    padding-left: 0;
    border-left: 0;
  }

  .stat strong {
    font-size: 3rem;
  }

  .work-head {
    margin-top: 44px;
    margin-bottom: 38px;
  }

  .project {
    border-radius: 22px;
  }

  .project--wide .project-visual,
  .project-visual {
    min-height: 360px;
    padding: 26px;
  }

  .finance-ui {
    transform: none;
  }

  .finance-top {
    padding: 14px 16px;
  }

  .finance-tabs {
    display: none;
  }

  .finance-body {
    grid-template-columns: 1fr;
  }

  .finance-side {
    display: none;
  }

  .finance-main {
    padding: 20px 18px 18px;
  }

  .finance-chart {
    height: 90px;
  }

  .project-tag {
    top: 16px;
    right: 16px;
  }

  .health-chip {
    right: 16px;
    bottom: 16px;
  }

  .project-meta {
    padding: 20px;
  }

  .project-meta h3 {
    font-size: 1.35rem;
  }

  .work-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .services {
    border-radius: 32px 32px 0 0;
  }

  .services-head {
    margin-top: 44px;
    margin-bottom: 38px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card--wide,
  .service-card--lime,
  .service-card--dark,
  .service-card--code {
    grid-column: auto;
  }

  .service-card {
    min-height: 280px;
    padding: 24px;
  }

  .service-card--wide {
    min-height: 330px;
  }

  .service-content,
  .service-card--wide .service-content,
  .service-card--code .service-content {
    max-width: 70%;
  }

  .service-art--browser {
    right: 16px;
    bottom: -20px;
    width: 33%;
    min-width: 150px;
  }

  .process-intro h2 {
    margin-top: 42px;
  }

  .process-trigger {
    grid-template-columns: 38px 1fr 28px;
    gap: 10px;
  }

  .process-panel p {
    margin-left: 48px;
  }

  .building {
    border-radius: 32px 32px 0 0;
  }

  .building-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 44px;
  }

  .building-head > p {
    max-width: 560px;
    padding-bottom: 0;
  }

  .building-grid {
    grid-template-columns: 1fr 1fr;
  }

  .build-card--frontend,
  .build-card--html,
  .build-card--javascript,
  .build-card--responsive {
    grid-column: auto;
  }

  .build-card--react {
    grid-column: span 2;
  }

  .build-card {
    min-height: 260px;
    padding: 24px;
  }

  .build-card-body,
  .build-card--react .build-card-body {
    max-width: 100%;
    padding-top: 34px;
  }

  .building-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .building-note p {
    text-align: left;
  }

  .contact-copy h2 {
    font-size: clamp(2.65rem, 10vw, 4rem);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 26px 22px;
  }

  .footer-top {
    padding-bottom: 44px;
  }

  .footer-nav {
    gap: 58px;
  }

  .footer-wordmark {
    font-size: clamp(2.5rem, 12vw, 5.6rem);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 34px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-symbol {
    width: 35px;
    height: 35px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 34px);
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.45rem);
  }

  .hero-lower > p {
    font-size: 0.93rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    flex: none;
  }

  .hero-visual {
    max-width: 390px;
  }

  .visual-shell {
    aspect-ratio: 1 / 1.16;
    padding: 16px;
    border-radius: 24px;
    transform: none;
  }

  .floating-chip--top {
    top: 38px;
    right: 0;
    padding: 10px 13px;
    font-size: 0.48rem;
  }

  .floating-chip--bottom {
    bottom: 38px;
    left: 0;
    padding: 10px 13px;
  }

  .hero-meta span:nth-child(3) {
    display: none;
  }

  .marquee {
    padding: 13px 0;
  }

  .marquee-group span {
    font-size: 0.86rem;
  }

  .section {
    padding: 82px 0;
  }

  .section-note {
    display: none;
  }

  .about-body .about-lead {
    font-size: 1.03rem;
  }

  .stat strong {
    font-size: 2.65rem;
  }

  .project--wide .project-visual,
  .project-visual {
    min-height: 320px;
    padding: 20px;
  }

  .finance-main {
    padding: 17px 14px;
  }

  .finance-pill {
    display: none;
  }

  .finance-heading strong {
    font-size: 1.35rem;
  }

  .finance-chart {
    height: 74px;
  }

  .finance-mini-row {
    display: none;
  }

  .phone-mock {
    width: 176px;
  }

  .phone-ui {
    min-height: 320px;
  }

  .poster-mock {
    min-height: 290px;
    width: 245px;
  }

  .poster-word {
    font-size: 3.45rem;
  }

  .project-meta {
    padding: 18px;
  }

  .project-arrow {
    width: 38px;
    height: 38px;
  }

  .service-card {
    min-height: 265px;
  }

  .service-card--wide {
    min-height: 320px;
  }

  .service-content,
  .service-card--wide .service-content,
  .service-card--code .service-content {
    max-width: 100%;
  }

  .service-card--wide .service-content {
    max-width: 68%;
  }

  .service-art--browser {
    width: 31%;
    min-width: 125px;
    opacity: 0.9;
  }

  .process-intro h2 {
    font-size: clamp(2.45rem, 9.8vw, 3.2rem);
  }

  .process-title {
    font-size: 1.2rem;
  }

  .process-panel p {
    margin-left: 39px;
    font-size: 0.84rem;
  }

  .building-grid {
    grid-template-columns: 1fr;
  }

  .build-card--react {
    grid-column: auto;
    min-height: 240px;
  }

  .build-card {
    min-height: 240px;
    padding: 22px;
  }

  .build-card h3 {
    font-size: 1.55rem;
  }

  .building-head h2 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

  .building-note p {
    font-size: 0.98rem;
  }

  .contact-copy h2 {
    font-size: clamp(2.35rem, 10.5vw, 3.2rem);
  }

  .contact-email {
    font-size: 0.98rem;
    gap: 7px;
  }

  .contact-socials {
    gap: 6px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .footer-nav {
    gap: 44px;
  }

  .footer-wordmark {
    font-size: 11.5vw;
  }

  .footer-bottom {
    gap: 12px;
  }
}

@media (hover: none) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

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

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

  body.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

.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;
}

.ai-launcher {
  position: fixed;
  right: 24px;
  bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  z-index: 1202;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, #ebff96 0%, #d9ff4d 48%, #c3ec32 100%);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 20px 45px -14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(217, 255, 77, 0.22),
    0 0 34px rgba(217, 255, 77, 0.16);
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, opacity 0.25s ease, visibility 0.25s;
}

.ai-launcher::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 34%,
    rgba(255, 255, 255, 0.42) 47%,
    rgba(255, 255, 255, 0.12) 53%,
    transparent 64%
  );
  transform: translateX(-120%);
  animation: aiSheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

.ai-launcher:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 26px 55px -14px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(217, 255, 77, 0.35),
    0 0 44px rgba(217, 255, 77, 0.28);
}

.ai-launcher:active {
  transform: translateY(-1px) scale(0.99);
}

.ai-launcher:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.ai-launcher[aria-expanded="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
}

.ai-launcher-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 22%, #26262c, #0b0b0d 72%);
  color: var(--lime);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s var(--ease), color 0.35s ease;
}

.ai-launcher:hover .ai-launcher-icon {
  transform: rotate(-8deg) scale(1.05);
  color: #ecff9c;
}

.ai-launcher-icon svg {
  width: 18px;
  height: 18px;
  animation: aiSparkle 4.5s ease-in-out infinite;
}

.ai-launcher-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
}

.ai-launcher-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ai-launcher-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(11, 11, 13, 0.62);
}

.ai-launcher-dot {
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3f6b0a;
}

.ai-launcher-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(11, 11, 13, 0.32);
  border-radius: 50%;
  animation: aiPing 2.4s ease-out infinite;
}

@keyframes aiPing {
  0% {
    opacity: 0.7;
    transform: scale(0.6);
  }
  75%, 100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes aiSheen {
  0%, 118% {
    transform: translateX(-120%);
  }
  55%, 72% {
    transform: translateX(120%);
  }
}

@keyframes aiSparkle {
  0%, 86%, 100% {
    transform: rotate(0deg) scale(1);
  }
  92% {
    transform: rotate(18deg) scale(1.08);
  }
}

.ai-panel {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 1201;
  display: flex;
  flex-direction: column;
  width: min(392px, calc(100vw - 32px));
  height: min(645px, calc(100svh - 48px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 0%, rgba(217, 255, 77, 0.1), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(168, 155, 255, 0.06), transparent 28%),
    #0d0d11;
  isolation: isolate;
  color: var(--text);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, visibility 0.3s, transform 0.45s var(--ease);
}

.ai-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ai-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.ai-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ai-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 28px rgba(217, 255, 77, 0.16);
  transform: rotate(-3deg);
}

.ai-avatar svg {
  width: 21px;
  height: 21px;
}

.ai-identity h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ai-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(217, 255, 77, 0.09);
}

.ai-close {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.ai-close:hover {
  border-color: rgba(217, 255, 77, 0.45);
  background: rgba(217, 255, 77, 0.06);
}

.ai-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
}

.ai-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.ai-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ai-thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  padding: 18px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #34343b transparent;
}

.ai-thread::-webkit-scrollbar {
  width: 5px;
}

.ai-thread::-webkit-scrollbar-thumb {
  border: 0;
  background: #34343b;
}

.ai-message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 91%;
  animation: aiMessageIn 0.4s var(--ease) both;
}

.ai-message--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-message-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(217, 255, 77, 0.24);
  border-radius: 50%;
  background: rgba(217, 255, 77, 0.08);
  color: var(--lime);
  font-size: 0.6rem;
}

.ai-bubble {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 15px 15px 15px 4px;
  background: #17171c;
  color: rgba(244, 241, 233, 0.86);
  font-size: 0.8rem;
  line-height: 1.58;
}

.ai-bubble p {
  margin: 0;
}

.ai-message--user .ai-bubble {
  border-color: transparent;
  border-radius: 15px 15px 4px 15px;
  background: var(--lime);
  color: var(--ink);
}

.ai-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(217, 255, 77, 0.52);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: gap 0.25s ease;
}

.ai-action:hover {
  gap: 9px;
}

.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 1px 0 0 32px;
}

.ai-suggestions button {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.ai-suggestions button:hover {
  border-color: rgba(217, 255, 77, 0.42);
  background: rgba(217, 255, 77, 0.06);
  color: var(--lime);
}

.ai-typing .ai-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 12px 14px;
}

.ai-typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: aiTyping 1.2s ease-in-out infinite;
}

.ai-typing-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.ai-typing-dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes aiTyping {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes aiMessageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-form {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 13px 14px 9px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.ai-form input {
  flex: 1;
  min-width: 0;
  height: 43px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.ai-form input::placeholder {
  color: var(--muted-dark);
}

.ai-form input:focus {
  border-color: rgba(217, 255, 77, 0.48);
  background: rgba(255, 255, 255, 0.05);
}

.ai-form button {
  display: grid;
  flex: none;
  place-items: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s var(--ease);
}

.ai-form button:hover {
  background: #e4ff78;
  transform: scale(1.05);
}

.ai-form button svg {
  width: 19px;
  height: 19px;
}

.ai-foot {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px 13px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.02em;
}

.ai-foot a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.ai-foot a:hover {
  color: var(--lime);
}

@media (max-width: 600px) {
  body.ai-open {
    overflow: hidden;
  }

  .ai-launcher {
    right: 16px;
    bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  }

  .ai-panel {
    inset: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
    width: auto;
    height: auto;
    border-radius: 24px;
    transform-origin: center;
  }

  .ai-thread {
    padding: 16px 14px;
  }

  .ai-message {
    max-width: 94%;
  }

  .ai-foot {
    padding-bottom: 10px;
  }
}

@media (max-width: 420px) {
  .ai-launcher {
    gap: 0;
    padding: 7px;
  }

  .ai-launcher-copy {
    display: none;
  }

  .ai-launcher-icon {
    width: 36px;
    height: 36px;
  }

  .ai-bubble {
    font-size: 0.78rem;
  }

  .ai-foot span {
    max-width: 62%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-message {
    animation: none;
  }

  .ai-launcher::before,
  .ai-launcher-icon svg {
    animation: none;
  }

  .ai-launcher-dot::after {
    display: none;
  }
}

/* ============================================================
   KINETIC LAYER — cursor, tilt, magnetic UI, scroll motion
   ============================================================ */

.cursor-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9996;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 255, 77, 0.16) 0%, rgba(217, 255, 77, 0.06) 26%, rgba(255, 100, 72, 0.045) 48%, transparent 68%);
  transition: opacity 0.3s ease;
  will-change: transform;
}

body.custom-cursor .cursor-canvas,
body.custom-cursor .cursor-aura {
  opacity: 1;
}

.cursor-dot {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  background: transparent;
}

.cursor-dot::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--lime);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: cursorStarSpin 5.5s linear infinite, cursorStarPulse 1.35s ease-in-out infinite;
}

.cursor-ring {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border: 0;
  background:
    linear-gradient(rgba(217, 255, 77, 0.8), rgba(217, 255, 77, 0.8)) 50% 0 / 1px 5px no-repeat,
    linear-gradient(rgba(217, 255, 77, 0.8), rgba(217, 255, 77, 0.8)) 50% 100% / 1px 5px no-repeat,
    linear-gradient(rgba(217, 255, 77, 0.8), rgba(217, 255, 77, 0.8)) 0 50% / 5px 1px no-repeat,
    linear-gradient(rgba(217, 255, 77, 0.8), rgba(217, 255, 77, 0.8)) 100% 50% / 5px 1px no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(217, 255, 77, 0.08),
    0 0 24px rgba(217, 255, 77, 0.08);
}

.cursor-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 58deg,
    rgba(217, 255, 77, 0.95) 58deg 86deg,
    transparent 86deg 174deg,
    rgba(255, 100, 72, 0.85) 174deg 190deg,
    transparent 190deg 292deg,
    rgba(217, 255, 77, 0.55) 292deg 314deg,
    transparent 314deg 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: cursorRingSpin 4.2s linear infinite;
}

.cursor-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
}

body.custom-cursor .cursor-ring.is-active {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border: 0;
  background: radial-gradient(circle, rgba(217, 255, 77, 0.16), transparent 68%);
  box-shadow: 0 0 48px rgba(217, 255, 77, 0.14);
}

body.custom-cursor .cursor-ring.is-active::before {
  animation-duration: 1.15s;
}

body.custom-cursor .cursor-ring.is-active::after {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--lime);
  box-shadow: 0 0 16px var(--lime);
}

.cursor-ring.is-click::after {
  animation: cursorClickBurst 0.48s var(--ease) forwards;
}

@keyframes cursorRingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cursorStarSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cursorStarPulse {
  0%, 100% {
    scale: 1;
  }
  50% {
    scale: 0.72;
  }
}

@keyframes cursorClickBurst {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(10);
    opacity: 0;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .project,
  .service-card {
    transform-style: preserve-3d;
  }

  .project:hover,
  .service-card:hover,
  body.reveal-ready .project.is-visible:hover,
  body.reveal-ready .service-card.is-visible:hover {
    transform: perspective(1050px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
  }

  .project::after,
  .service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(217, 255, 77, 0.16), transparent 40%);
    transition: opacity 0.28s ease;
  }

  .project:hover::after,
  .service-card:hover::after {
    opacity: 1;
  }

  .btn.is-magnetic {
    transform: translate3d(var(--mag-x, 0px), calc(var(--mag-y, 0px) + var(--mag-lift, 0px)), 0);
    will-change: transform;
  }

  .btn.is-magnetic:hover {
    --mag-lift: -2px;
  }
}

.marquee-group {
  transform: skewX(var(--marquee-skew, 0deg));
  transition: transform 0.2s ease-out;
}

body.reveal-ready .hero h1 > span {
  opacity: 0;
  transform: translateY(115%) skewY(6deg);
}

body.reveal-ready .hero h1.is-visible > span {
  animation: heroLineUp 0.95s var(--ease) forwards;
}

body.reveal-ready .hero h1.is-visible > span:nth-child(1) {
  animation-delay: 0.02s;
}

body.reveal-ready .hero h1.is-visible > span:nth-child(2) {
  animation-delay: 0.1s;
}

body.reveal-ready .hero h1.is-visible > span:nth-child(3) {
  animation-delay: 0.18s;
}

.hero h1 em {
  text-shadow: 0 0 42px rgba(217, 255, 77, 0.18);
}

@keyframes heroLineUp {
  0% {
    opacity: 0;
    transform: translateY(115%) skewY(6deg);
  }
  62% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

@media (hover: none) {
  .cursor-canvas,
  .cursor-aura {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-canvas,
  .cursor-aura {
    display: none;
  }

  body.reveal-ready .hero h1 > span {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .cursor-ring::before,
  .cursor-dot::before,
  .marquee-group {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* ---------- Honest portfolio additions ---------- */

.stat--fact strong {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.skills {
  z-index: 3;
  margin-top: -1px;
  border-radius: 44px 44px 0 0;
  background: var(--cream);
  color: var(--ink);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.skill-group {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid #d8d3c8;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease, border-color 0.35s ease;
}

.skill-group:hover {
  transform: translateY(-5px);
  border-color: #bdb7a9;
  box-shadow: 0 26px 60px rgba(11, 11, 13, 0.09);
}

.skill-group--learning {
  border-color: transparent;
  background: var(--lime);
}

.skill-group--roadmap {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--text);
}

.skill-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.skill-group-index {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.skill-group-status {
  padding: 6px 11px;
  border: 1px solid rgba(11, 11, 13, 0.22);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-group--roadmap .skill-group-status {
  border-color: rgba(244, 241, 233, 0.28);
  color: var(--lime);
}

.skill-group h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.skill-group > p {
  margin-top: 10px;
  color: #6f6a61;
  font-size: 0.88rem;
  line-height: 1.65;
}

.skill-group--learning > p {
  color: rgba(11, 11, 13, 0.68);
}

.skill-group--roadmap > p {
  color: rgba(244, 241, 233, 0.6);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 11, 13, 0.14);
}

.skill-group--roadmap .skill-list {
  border-top-color: rgba(244, 241, 233, 0.16);
}

.skill-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(11, 11, 13, 0.12);
  font-size: 0.93rem;
}

.skill-list li:last-child {
  border-bottom: 0;
}

.skill-group--roadmap .skill-list li {
  border-bottom-color: rgba(244, 241, 233, 0.12);
  color: rgba(244, 241, 233, 0.86);
}

.skill-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.skill-group--learning .skill-dot {
  background: var(--ink);
  opacity: 1;
}

.skills-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: #7b766c;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Projects */
.project-card {
  display: flex;
  flex-direction: column;
}

.project-art {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  padding: 34px;
}

.project-art--portfolio {
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 255, 77, 0.16), transparent 34%),
    linear-gradient(142deg, #171914 0%, #0d0f0a 64%, #1a1d10 100%);
}

.project-art--calculator {
  background:
    radial-gradient(circle at 18% 82%, rgba(168, 155, 255, 0.14), transparent 34%),
    linear-gradient(142deg, #15151b 0%, #0c0c10 66%, #16161c 100%);
}

.project-art--shop {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 100, 72, 0.14), transparent 34%),
    linear-gradient(142deg, #191411 0%, #0d0b0a 66%, #1b1512 100%);
}

.project-art--playground {
  background:
    radial-gradient(circle at 20% 20%, rgba(217, 255, 77, 0.1), transparent 34%),
    linear-gradient(142deg, #12140f 0%, #0a0b09 66%, #14170f 100%);
}

.project-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(130deg, transparent 35%, black);
  -webkit-mask-image: linear-gradient(130deg, transparent 35%, black);
  pointer-events: none;
}

.mock-browser {
  position: relative;
  width: min(100%, 340px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(10, 12, 8, 0.94);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
  transform: rotate(-1.5deg);
  transition: transform 0.6s var(--ease);
}

.project:hover .mock-browser {
  transform: rotate(0) translateY(-4px);
}

.mock-browser-bar {
  display: flex;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.mock-browser-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 22px 18px 24px;
}

.mock-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
}

.mock-hero-line {
  width: 88%;
  height: 12px;
  border-radius: 4px;
  background: rgba(244, 241, 233, 0.8);
}

.mock-hero-line--short {
  width: 54%;
  background: rgba(244, 241, 233, 0.34);
}

.mock-pill {
  width: 92px;
  height: 24px;
  border-radius: 999px;
  background: var(--lime);
}

.mock-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 6px;
}

.mock-bars i {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.mock-calc {
  position: relative;
  width: min(100%, 220px);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(12, 12, 16, 0.95);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
  transition: transform 0.6s var(--ease);
}

.project:hover .mock-calc {
  transform: rotate(0) translateY(-4px);
}

.mock-calc-screen {
  display: block;
  margin-bottom: 12px;
  padding: 16px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  text-align: right;
}

.mock-calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.mock-calc-grid i {
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.mock-calc-grid i.is-accent {
  background: rgba(217, 255, 77, 0.22);
}

.mock-shop {
  position: relative;
  width: min(100%, 340px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(16, 12, 10, 0.94);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
  transform: rotate(1.5deg);
  transition: transform 0.6s var(--ease);
}

.project:hover .mock-shop {
  transform: rotate(0) translateY(-4px);
}

.mock-shop-nav {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mock-shop-nav i {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.mock-shop-nav i:first-child {
  width: 40%;
}

.mock-shop-nav i:nth-child(2) {
  width: 22%;
}

.mock-shop-nav i:last-child {
  width: 14%;
  background: rgba(255, 100, 72, 0.5);
}

.mock-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 16px 14px 20px;
}

.mock-shop-grid span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-shop-grid i {
  height: 56px;
  border-radius: 7px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
}

.mock-shop-grid b {
  width: 80%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.mock-shop-grid em {
  width: 45%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 100, 72, 0.55);
}

.mock-code {
  position: relative;
  width: min(100%, 330px);
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(10, 12, 8, 0.94);
  color: rgba(244, 241, 233, 0.72);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
}

.mock-code b {
  color: var(--violet);
  font-weight: 500;
}

.mock-code i {
  color: var(--lime);
  font-style: normal;
}

.mock-code em {
  color: var(--coral);
  font-style: normal;
}

.mock-cursor {
  color: var(--lime);
  animation: mockBlink 1.2s steps(2, start) infinite;
}

@keyframes mockBlink {
  50% { opacity: 0; }
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-art > .project-status {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(6px);
}

.project-status--live {
  border-color: rgba(217, 255, 77, 0.55);
  color: var(--lime);
}

.project-status--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(217, 255, 77, 0.16);
}

.project-status--progress {
  border-color: rgba(168, 155, 255, 0.45);
  color: var(--violet);
}

.project-status--concept {
  border-color: rgba(255, 100, 72, 0.42);
  color: #ff8b76;
}

.project-status--planned {
  border-color: rgba(244, 241, 233, 0.22);
  color: var(--muted);
}

.project-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  padding: 25px 27px 28px;
  border-top: 1px solid var(--line);
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.project-info p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tech span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.49rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}



/* Learning journey */
.journey-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.journey-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(11, 11, 13, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.26);
  transition: transform 0.4s var(--ease), background-color 0.35s ease, border-color 0.35s ease;
}

.journey-item:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 11, 13, 0.34);
  background: rgba(255, 255, 255, 0.42);
}

.journey-item.is-current {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--text);
}

.journey-item.is-current:hover {
  border-color: var(--ink);
  background: #111114;
}

.journey-item:last-child {
  grid-column: span 2;
}

.journey-marker {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 11, 13, 0.26);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.journey-item.is-complete .journey-marker {
  border-color: transparent;
  background: var(--ink);
  color: var(--lime);
}

.journey-item.is-current .journey-marker {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.journey-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.journey-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.journey-badge {
  padding: 3px 8px;
  border: 1px solid rgba(11, 11, 13, 0.24);
  border-radius: 999px;
  font-size: 0.47rem;
  letter-spacing: 0.06em;
}

.journey-item.is-current .journey-badge {
  border-color: rgba(244, 241, 233, 0.3);
  color: var(--lime);
}

.journey-badge--done {
  border-color: transparent;
  background: var(--ink);
  color: var(--lime);
}

.journey-badge--current {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.journey-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.journey-content p {
  color: rgba(11, 11, 13, 0.64);
  font-size: 0.85rem;
  line-height: 1.65;
}

.journey-item.is-current .journey-content p {
  color: rgba(244, 241, 233, 0.66);
}

/* Interests */
.interests {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(217, 255, 77, 0.06), transparent 26%),
    radial-gradient(circle at 6% 88%, rgba(168, 155, 255, 0.05), transparent 26%),
    var(--bg);
}

.interests-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin: clamp(44px, 5vw, 64px) 0 clamp(44px, 5vw, 64px);
}

.interests-head h2 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.interests-head h2 em {
  color: var(--lime);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.interests-head > p {
  max-width: 380px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.interest-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  transition: transform 0.45s var(--ease), border-color 0.35s ease, background-color 0.35s ease;
}

.interest-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 255, 77, 0.32);
}

.interest-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(217, 255, 77, 0.06);
  color: var(--lime);
}

.interest-icon svg {
  width: 21px;
  height: 21px;
}

.interest-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.interest-card p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.7;
}

.interests-note {
  margin-top: 36px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-muted {
  padding: 8px 13px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-muted {
  display: block;
  padding: 7px 0;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .interests-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }

  .skill-group--roadmap {
    grid-column: span 2;
  }

  .journey-list {
    grid-template-columns: 1fr;
  }

  .journey-item:last-child {
    grid-column: auto;
  }

  .interests-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .interests-head > p {
    max-width: 540px;
  }

  .interest-icon {
    margin-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-group--roadmap {
    grid-column: auto;
  }

  .project-art {
    min-height: 260px;
    padding: 26px;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .interest-card {
    min-height: 0;
  }

  .interest-icon {
    margin-bottom: 24px;
  }
}

@media (max-width: 520px) {
  .stat--fact strong {
    font-size: 1rem;
  }

  .journey-item {
    padding: 20px;
  }

  .journey-marker {
    width: 38px;
    height: 38px;
    font-size: 0.55rem;
  }

  .contact-muted {
    width: 100%;
    text-align: center;
  }

  .mock-browser,
  .mock-shop,
  .mock-code {
    width: 100%;
  }
}

.journey-item.is-current .journey-badge--current {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.mock-code > span {
  display: block;
}

.skill-group .skill-list {
  margin-top: auto;
}

/* ---------- Portfolio assistant: refined ---------- */

.ai-panel {
  width: min(408px, calc(100vw - 32px));
  height: min(668px, calc(100svh - 48px));
}

.ai-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 255, 77, 0.55), transparent);
  pointer-events: none;
}

.ai-header {
  padding: 18px 18px 16px;
}

.ai-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-reset {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.ai-reset:hover {
  border-color: rgba(217, 255, 77, 0.45);
  background: rgba(217, 255, 77, 0.06);
  color: var(--lime);
}

.ai-reset:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.ai-reset svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.ai-reset:hover svg {
  transform: rotate(-40deg);
}

.ai-bubble {
  font-size: 0.81rem;
  line-height: 1.6;
}

.ai-suggestions {
  display: block;
  margin: 2px 0 4px 32px;
}

.ai-suggestions-label {
  margin: 0 0 9px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.ai-quick {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.3s var(--ease);
}

.ai-quick:hover {
  border-color: rgba(217, 255, 77, 0.4);
  background: rgba(217, 255, 77, 0.055);
  transform: translateY(-2px);
}

.ai-quick:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.ai-quick-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(217, 255, 77, 0.18);
  border-radius: 9px;
  background: rgba(217, 255, 77, 0.07);
  color: var(--lime);
}

.ai-quick-icon svg {
  width: 15px;
  height: 15px;
}

.ai-quick-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.3;
}

.ai-quick-text strong {
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-quick-text small {
  overflow: hidden;
  color: var(--muted-dark);
  font-size: 0.47rem;
  letter-spacing: 0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-quick:hover .ai-quick-text small {
  color: var(--muted);
}

.ai-foot span {
  color: var(--muted-dark);
}

@media (max-width: 600px) {
  .ai-panel {
    width: auto;
    height: auto;
  }

  .ai-quick-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .ai-quick {
    gap: 7px;
    padding: 8px 9px;
  }

  .ai-quick-icon {
    width: 27px;
    height: 27px;
  }

  .ai-quick-text strong {
    font-size: 0.64rem;
  }

  .ai-quick-text small {
    font-size: 0.45rem;
  }
}

@media (max-width: 420px) {
  .ai-suggestions {
    margin-left: 0;
  }

  .ai-quick-grid {
    grid-template-columns: 1fr;
  }

  .ai-quick-text strong {
    font-size: 0.68rem;
  }

  .ai-quick-text small {
    font-size: 0.48rem;
  }
}
