:root {
  --bg: #050607;
  --bg-alt: #090b0f;
  --bg-elevated: #10141a;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --accent: #4ade80; /* soft neon green */
  --accent-soft: rgba(74, 222, 128, 0.16);
  --accent-strong: #22c55e;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;
  --shadow-soft: 0 22px 45px rgba(0, 0, 0, 0.75);
  --shadow-subtle: 0 18px 40px rgba(0, 0, 0, 0.6);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.78));
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-mark {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  color: var(--accent);
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.3);
  border: 1px solid rgba(45, 212, 191, 0.5);
}

.logo-text {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
}

.nav-cta {
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.nav-cta:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

h1 {
  font-size: clamp(2.4rem, 3.2vw + 1.4rem, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out,
    background-color 0.12s ease-out, color 0.12s ease-out;
}

.btn-primary {
  background: radial-gradient(circle at top left, #22c55e, #16a34a 40%, #15803d 100%);
  color: #022c22;
  box-shadow: 0 18px 35px rgba(34, 197, 94, 0.42);
}

.btn-primary:hover {
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 24px 45px rgba(34, 197, 94, 0.6);
  text-decoration: none;
}

.btn-secondary {
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text-main);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.24), rgba(15, 23, 42, 0.98));
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: radial-gradient(circle at top left, rgba(74, 222, 128, 0.35), rgba(15, 23, 42, 1));
  text-decoration: none;
}

.btn-large {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portrait-frame {
  border-radius: var(--radius-lg);
  padding: 0.35rem;
  background: radial-gradient(circle at top left, rgba(74, 222, 128, 0.5), rgba(15, 23, 42, 1));
  box-shadow: var(--shadow-soft);
}

.portrait-placeholder {
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid rgba(148, 163, 184, 0.55);
  background:
    radial-gradient(circle at top left, rgba(74, 222, 128, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.2), transparent 55%),
    url("data:image/svg+xml,%3Csvg width='400' height='260' viewBox='0 0 400 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23022c22'/%3E%3Cstop offset='1' stop-color='%23020b1f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='260' fill='url(%23g)'/%3E%3C/svg%3E")
      center/cover no-repeat;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.portrait-placeholder span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(209, 213, 219, 0.85);
  background: rgba(15, 23, 42, 0.85);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  backdrop-filter: blur(8px);
}

.hero-terminal {
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.76rem;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: linear-gradient(to right, #020617, #020617);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.terminal-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.terminal-header .red {
  background: #ef4444;
}

.terminal-header .amber {
  background: #f59e0b;
}

.terminal-header .green {
  background: #22c55e;
}

.terminal-title {
  margin-left: 0.4rem;
  color: #9ca3af;
}

.terminal-body {
  padding: 0.8rem 0.9rem 1rem;
  background: radial-gradient(circle at top left, #020617, #020617);
  color: #a7f3d0;
}

.prompt {
  color: #22c55e;
  margin-right: 0.4rem;
}

/* Sections */

.section {
  padding: 3.5rem 0 3.3rem;
}

.section-alt {
  background: radial-gradient(circle at top left, #020617, #020617);
  border-top: 1px solid rgba(15, 23, 42, 1);
  border-bottom: 1px solid rgba(15, 23, 42, 1);
}

.section-header {
  text-align: left;
  margin-bottom: 2.3rem;
}

.section-header h2 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}

.section-subtitle {
  margin: 0;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-subtle);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.card li + li {
  margin-top: 0.2rem;
}

/* Credibility strip */

.cred {
  padding: 1.4rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  border-bottom: 1px solid rgba(15, 23, 42, 1);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(2, 6, 23, 0.96));
}

.cred-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.cred-line {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Impact */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.impact-item {
  padding: 1.3rem 1.3rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background:
    radial-gradient(circle at top left, rgba(74, 222, 128, 0.16), transparent 55%),
    linear-gradient(to bottom right, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
}

.impact-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.impact-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Work */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.work-card {
  padding: 1.5rem 1.4rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at top left, rgba(74, 222, 128, 0.18), transparent 55%),
    linear-gradient(140deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  box-shadow: var(--shadow-subtle);
}

.work-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.work-card p {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.work-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Why section */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.why-copy p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.why-aside {
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem 1.1rem;
  background:
    radial-gradient(circle at top left, rgba(74, 222, 128, 0.15), transparent 55%),
    linear-gradient(to bottom right, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border: 1px dashed rgba(74, 222, 128, 0.7);
}

.why-aside h3 {
  margin: 0 0 0.6rem;
  font-size: 1.02rem;
}

.why-aside ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.why-aside li + li {
  margin-top: 0.25rem;
}

/* Maxxin */

.maxxin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.maxxin-copy p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.maxxin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.4rem;
}

.text-link {
  font-size: 0.92rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(74, 222, 128, 0.7);
}

.text-link:hover {
  color: var(--accent-strong);
  border-bottom-style: solid;
}

.ai-art-placeholder {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(74, 222, 128, 0.5);
  background:
    radial-gradient(circle at top left, rgba(74, 222, 128, 0.2), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.23), transparent 55%),
    repeating-linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.96) 0,
      rgba(15, 23, 42, 0.96) 2px,
      rgba(15, 23, 42, 0.9) 2px,
      rgba(15, 23, 42, 0.9) 4px
    );
  min-height: 0;
  display: flex;
  align-items: stretch;
  padding: 0.4rem;
  box-shadow: var(--shadow-subtle);
}
.ai-art-placeholder img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  object-fit: cover;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr);
}

.about-copy p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-note {
  margin: 0.8rem 0 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.contact-details dl {
  margin: 0;
}

.contact-details div {
  margin-bottom: 0.6rem;
}

.contact-details dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin-bottom: 0.1rem;
}

.contact-details dd {
  margin: 0;
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--text-muted);
}

.contact-details a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Footer */

.site-footer {
  margin-top: 1rem;
  padding: 1.7rem 0 1.6rem;
  border-top: 1px solid rgba(15, 23, 42, 1);
  background: radial-gradient(circle at top, #020617, #000);
  font-size: 0.84rem;
  color: var(--text-soft);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  gap: 1rem;
}

.footer-meta p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.privacy-note {
  margin: 0;
  max-width: 32rem;
}

.footer-copy {
  margin: 0;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .cards-grid,
  .impact-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .maxxin-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1.1rem;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 3.1rem;
  }

  .section {
    padding: 3rem 0 2.7rem;
  }

  .cards-grid,
  .impact-grid,
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

