:root {
  --bg: #0a0a0a;
  --panel: #111111;
  --panel-soft: #141414;
  --text: #f0f0f0;
  --text-soft: #c0c0c0;
  --muted: #888888;
  --line: #1f1f1f;
  --accent: #00ff88;
  --accent-soft: rgba(0, 255, 136, 0.2);
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.dot-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23f0f0f0'/%3E%3C/svg%3E");
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-22px, -22px, 0);
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

button {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.mono {
  font-family: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
}

.cursor-outer,
.cursor-inner {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.cursor-outer {
  width: 20px;
  height: 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: width 0.22s ease, height 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, opacity 0.2s ease;
}

.cursor-outer.is-hover {
  width: 40px;
  height: 40px;
  background-color: var(--accent-soft);
}

.cursor-inner {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  transition: opacity 0.15s ease;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand img {
  width: 78px;
  height: auto;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  position: relative;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-link.active {
  color: var(--accent);
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transform: translateX(0);
  transition: transform 0.25s ease, width 0.25s ease, opacity 0.25s ease;
  opacity: 0;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  width: 40px;
  height: 34px;
  line-height: 1;
  font-size: 16px;
  letter-spacing: 2px;
  border-radius: 6px;
  padding: 0;
}

.mobile-nav {
  display: none;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(100vh - 72px);
  padding-top: 8rem;
  padding-bottom: 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-title {
  margin: 0;
  max-width: none;
  font-size: clamp(62px, 7.2vw, 88px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -2.5px;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-sub {
  margin: 1.65rem 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  text-wrap: balance;
}

.hero-actions {
  margin-top: 2.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.hero-links {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.hero-links a {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-links a:hover {
  color: var(--text);
  border-color: var(--accent);
  text-decoration: none;
}

.hero-glow {
  position: absolute;
  left: 50%;
  bottom: -18rem;
  width: min(1100px, 86vw);
  height: min(620px, 40vw);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  background:
    radial-gradient(ellipse at center 100%, rgba(0, 255, 136, 0.36) 0%, rgba(0, 255, 136, 0.2) 18%, rgba(0, 255, 136, 0.09) 38%, rgba(0, 255, 136, 0) 68%),
    radial-gradient(ellipse at center 100%, rgba(225, 255, 240, 0.18) 0%, rgba(225, 255, 240, 0) 46%);
  filter: blur(34px);
}

.hero-glow::before {
  content: "";
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 26%;
  height: 34%;
  border: 1px solid rgba(174, 255, 213, 0.18);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  box-shadow: 0 0 42px rgba(0, 255, 136, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid #333333;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  font-weight: 700;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: 1px;
  transition: opacity 0.25s ease;
}

.scroll-indicator.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-arrow {
  display: inline-block;
  color: var(--accent);
  animation: arrow-bob 1s ease-in-out infinite;
}

@keyframes arrow-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-rise 0.65s ease forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stats-bar {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item {
  padding: 0.8rem 1.1rem;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--line);
}

.stat-value {
  margin: 0;
  color: var(--accent);
  font-size: clamp(48px, 5.8vw, 64px);
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.6;
}

.section-block {
  padding: 7rem 0;
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.section-title {
  margin: 0.8rem 0 0;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 700;
}

.about-layout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
}

.about-copy p {
  margin: 0 0 1.25rem;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-void {
  align-self: start;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.1rem;
}

.about-void p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-void p + p {
  margin-top: 0.65rem;
}

.client-strip {
  margin-top: 2rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.75rem 0;
  overflow: hidden;
}

.client-strip-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: client-strip-scroll 24s linear infinite;
}

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

.tool-strip {
  margin-top: 1.9rem;
}

.client-strip-group {
  display: flex;
  flex-shrink: 0;
  gap: 0.8rem;
  padding-right: 0.8rem;
}

.client-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 1.5cm;
  gap: 0.7rem;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.6rem 0.95rem;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.4px;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.client-logo:hover {
  border-color: #2f2f2f;
  color: var(--text);
  text-decoration: none;
}

.client-logo img {
  width: 1.5cm;
  height: 1.5cm;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.tool-logo {
  cursor: default;
}

.tool-logo img {
  object-fit: contain;
  border-radius: 10px;
}

@keyframes client-strip-scroll {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-strip-track {
    animation: none;
    transform: translateX(0);
  }
}

.work-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.work-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.25rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.work-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.2s ease;
}

.work-card:hover {
  background: #1a1a1a;
  text-decoration: none;
}

.work-card:hover::before {
  transform: scaleY(1);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.card-top h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.card-arrow {
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.work-card:hover .card-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.card-metric {
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-value {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.metric-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tag-list {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list li {
  border: 1px solid #333333;
  padding: 3px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #b6b6b6;
}

.work-card p {
  margin: 0.95rem 0 0;
  color: var(--text-soft);
  font-size: 16px;
}

.writing-list {
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.writing-row {
  display: grid;
  grid-template-columns: 110px 1fr auto 22px;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.writing-row:last-child {
  border-bottom: 0;
}

.writing-row:hover {
  background: var(--panel-soft);
  text-decoration: none;
}

.row-date {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.row-title {
  font-size: 18px;
  color: var(--text);
  transition: color 0.2s ease;
}

.writing-row:hover .row-title {
  color: var(--accent);
}

.row-platform {
  border: 1px solid #333333;
  padding: 3px 8px;
  font-size: 11px;
  color: #b6b6b6;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.row-arrow {
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.writing-row:hover .row-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.more-link {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--text-soft);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.services-layout {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 16px;
  color: var(--text);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.service-dot {
  color: var(--accent);
  font-size: 14px;
  line-height: 1;
}

.section-contact {
  border-bottom: 0;
}

.contact-title {
  font-size: clamp(40px, 5.5vw, 56px);
}

.contact-sub {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
}

.contact-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.7rem 0.9rem;
  font-size: 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-link:hover {
  border-color: #2f2f2f;
  color: var(--accent);
  text-decoration: none;
}

.footer-divider {
  margin-top: 2.1rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  color: #555555;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.site-footer p {
  margin: 0;
}

.reveal-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-void {
    max-width: 420px;
  }
}

@media (max-width: 767px) {
  .brand img {
    width: 70px;
  }

  .container {
    width: min(var(--max), calc(100% - 2rem));
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav {
    display: grid;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    transition: max-height 0.2s ease, border-color 0.2s ease;
  }

  .mobile-nav.is-open {
    max-height: 220px;
    border-top-color: var(--line);
  }

  .mobile-link {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
  }

  .mobile-link:hover {
    color: var(--text);
    text-decoration: none;
  }

  .hero-inner {
    min-height: calc(100vh - 72px);
    padding-top: 7.25rem;
    padding-bottom: 5.75rem;
  }

  .hero-title {
    font-size: 46px;
    letter-spacing: -1px;
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-sub {
    max-width: 34ch;
    font-size: 16px;
  }

  .hero-links {
    gap: 0.8rem;
  }

  .hero-links a {
    font-size: 13px;
  }

  .hero-glow {
    bottom: -8rem;
    width: min(720px, 120vw);
    height: 300px;
    filter: blur(28px);
  }

  .scroll-indicator {
    left: 50%;
    bottom: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .stat-item:nth-child(odd) {
    border-left: 0;
  }

  .stat-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .section-block {
    padding: 4.2rem 0;
  }

  .client-strip-track {
    animation-duration: 20s;
  }

  .client-logo {
    min-height: auto;
  }

  .client-logo img {
    width: 1.2cm;
    height: 1.2cm;
  }

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

  .writing-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.95rem 0.7rem;
  }

  .row-platform {
    justify-self: start;
  }

  .row-arrow {
    justify-self: start;
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (pointer: coarse), (max-width: 767px) {
  .cursor-outer,
  .cursor-inner {
    display: none !important;
  }

  body,
  body a,
  body button {
    cursor: auto !important;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-section,
  .hero-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
