:root {
  --bg: #0c1210;
  --bg-2: #121a17;
  --panel: #17201c;
  --ink: #eef3ef;
  --muted: #9aada3;
  --line: rgba(238, 243, 239, 0.12);
  --accent: #b8f34d;
  --accent-ink: #0c1210;
  --font: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 85% 8%, rgba(184, 243, 77, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 35% at 10% 90%, rgba(184, 243, 77, 0.05), transparent 50%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.4rem;
}

.logo-mark svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--muted);
}

.nav a:not(.btn):hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-radius: 0.35rem;
  transition: transform 0.25s var(--ease), filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-sm {
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.hero {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  min-height: calc(100svh - 5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0 5rem;
}

.hero-copy {
  max-width: 36rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero-title .line-inner {
  display: block;
  transform: translateY(110%);
  animation: rise 0.85s var(--ease) forwards;
}

.hero-title .line:nth-child(1) .line-inner {
  animation-delay: 0.05s;
}
.hero-title .line:nth-child(2) .line-inner {
  animation-delay: 0.14s;
}
.hero-title .line:nth-child(3) .line-inner {
  animation-delay: 0.23s;
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

.hero-lede {
  margin-top: 1.4rem;
  max-width: 32rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.link-arrow {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.link-arrow:hover {
  color: var(--accent);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.hero-chips span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}

.art-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
}

.art-svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.art-glow {
  position: absolute;
  inset: 18% 12%;
  background: radial-gradient(circle, rgba(184, 243, 77, 0.22), transparent 70%);
  filter: blur(28px);
  z-index: 0;
  animation: glow 5s ease-in-out infinite alternate;
}

.spin-slow {
  transform-origin: 210px 210px;
  animation: spin 28s linear infinite;
}

.spin-rev {
  transform-origin: 210px 210px;
  animation: spin 18s linear infinite reverse;
}

.float-a {
  transform-origin: center;
  animation: float 6s var(--ease) infinite;
}

.float-b {
  animation: float 7.5s var(--ease) infinite reverse;
}

.float-c {
  animation: float 5.5s var(--ease) infinite;
}

.pulse {
  transform-origin: 318px 118px;
  animation: pulse 2.8s ease-in-out infinite;
}

.draw {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: draw 2.2s var(--ease) 0.4s forwards;
}

.draw.delay {
  animation-delay: 0.9s;
}

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

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes glow {
  from {
    opacity: 0.55;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

.section {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0 0 5.5rem;
}

.section-intro {
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-lede {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--muted);
  font-weight: 500;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.work-card {
  padding: 1.5rem 1.35rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
}

.work-card:hover {
  border-color: rgba(184, 243, 77, 0.35);
  transform: translateY(-3px);
}

.num {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.work-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 0.45rem;
}

.work-card p {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.98rem;
}

.method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 4rem;
}

.method-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.method-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.method-list li:first-child {
  border-top: 1px solid var(--line);
}

.method-list strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.method-list span {
  color: var(--muted);
  font-weight: 500;
}

.contact-panel {
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(184, 243, 77, 0.12), transparent 55%),
    var(--panel);
  border: 1px solid var(--line);
}

.contact-panel .btn {
  margin-top: 1.75rem;
}

.site-footer {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-mail {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.footer-mail:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero-art {
    order: -1;
  }

  .art-frame {
    width: min(100%, 320px);
  }

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

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

@media (max-width: 640px) {
  .nav a:not(.btn) {
    display: none;
  }
}

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

  .reveal,
  .hero-title .line-inner,
  .btn,
  .work-card,
  .spin-slow,
  .spin-rev,
  .float-a,
  .float-b,
  .float-c,
  .pulse,
  .draw,
  .art-glow {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}
