:root {
  --bg: #0d0d0d;
  --bg-alt: #161616;
  --text: #f5f5f5;
  --muted: #a1a1a1;
  --accent: #c4d82e;
  --font-body: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Archivo Black", var(--font-body);
  --font-mono: "Space Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2 {
  font-family: var(--font-heading);
  line-height: 1.1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #222;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  color: var(--text);
  transition: color 0.2s, transform 0.2s;
}

.logo.is-active {
  color: var(--accent);
}

.logo svg {
  display: block;
  height: 18px;
  width: auto;
  fill: currentColor;
  transition: filter 0.2s;
}

@media (max-width: 720px) {
  .logo svg {
    height: 15px;
  }
}

.logo:hover {
  color: var(--accent);
  transform: translateY(2px);
}

.logo:hover svg {
  filter: drop-shadow(0 0 6px var(--accent));
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 28px;
  font-size: 14px;
}

nav a:hover,
nav a.is-active {
  color: var(--accent);
}

@media (max-width: 480px) {
  nav a {
    margin-left: 14px;
    font-size: 13px;
  }
}

.secondary-nav {
  display: none;
}

@media (max-width: 720px) {
  .header-inner {
    justify-content: center;
  }

  .primary-nav {
    display: none;
  }

  .secondary-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    border-top: 1px solid #222;
  }

  .secondary-nav a {
    color: var(--muted);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
  }
}

.hero {
  padding: 48px 0 100px;
  text-align: center;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 20px;
  }
}

.hero-mobile {
  display: none;
}

@media (max-width: 720px) {
  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
  }
}

.hero-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1664 / 1244;
  border-radius: 24px;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.2);
  background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 65%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
}

.hero-views {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 245, 245, 0.12);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text);
}

.hero-views svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

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

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hero-mobile .hero-card {
  margin-bottom: 24px;
}

.hero-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.hero-desktop .hero-progress {
  margin-top: 20px;
}

.hero-mobile .hero-progress {
  margin-top: 4px;
  margin-bottom: 24px;
}

.hero-progress-dot {
  width: 36px;
  height: 3px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: #333;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-progress-dot:hover {
  background: #555;
}

.hero-progress-dot.is-active {
  background: var(--accent);
}

.hero-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-card-content .stat-label {
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero-card-content .stat-counter {
  font-size: clamp(1.75rem, 9vw, 2.75rem);
  margin-bottom: 12px;
}

.hero-mobile .hero-card-content h1 {
  font-size: clamp(1.1rem, 5.5vw, 1.75rem);
  margin-bottom: 0;
}

@keyframes hero-gradient-shift {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.stat-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-family: var(--font-mono);
  margin: 0 0 8px;
}

.hero-content .stat-label,
.hero-card-content .stat-label {
  color: var(--accent);
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}

.stat-counter {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 28px;
}

.stat-prefix,
.stat-suffix {
  color: var(--text);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.hero p {
  color: #cccccc;
  max-width: 500px;
  margin: 0 auto 32px;
}

.hl {
  position: relative;
  color: var(--text);
}

.hl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.hl.in-view::after {
  transform: scaleX(1);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #0d0d0d;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

@media (max-width: 720px) {
  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px -8px rgba(196, 216, 46, 0.6);
  transition: box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.btn-primary:hover {
  opacity: 1;
  box-shadow: 0 10px 28px -6px rgba(196, 216, 46, 0.75);
  transform: translateY(-1px);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 32px;
  text-align: center;
}

.section .section-heading {
  font-size: clamp(2.25rem, 4.5vw, 3rem);
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 700;
  margin: 0 0 12px;
}

/* Skillset tabs */
.skillset-section {
  background: var(--bg-alt);
}

.skillset-section .eyebrow {
  text-align: center;
}

.skillset-section .section-heading {
  text-transform: uppercase;
}

.glow-word {
  color: var(--accent);
  animation: glow-pulse 2.5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    text-shadow: 0 0 8px rgba(196, 216, 46, 0.35), 0 0 18px rgba(196, 216, 46, 0.15);
  }
  50% {
    text-shadow: 0 0 18px rgba(196, 216, 46, 0.7), 0 0 36px rgba(196, 216, 46, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow-word {
    animation: none;
    text-shadow: 0 0 12px rgba(196, 216, 46, 0.4);
  }
}

.skillset-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 14px;
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #222;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 720px) {
  .skillset-row {
    justify-content: flex-start;
  }
}

.skill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #222;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: border-color 0.2s, color 0.2s;
}

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

.skill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skill svg {
  width: 18px;
  height: 18px;
}

.skill.is-active {
  border-color: var(--accent);
  color: var(--text);
}

.tab-panels {
  display: grid;
}

.tab-panel {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tab-panel.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.panel-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: start;
  gap: 48px;
}

.panel-copy h2 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 16px;
}

.panel-copy > p {
  color: var(--muted);
  margin-bottom: 20px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.panel-mark {
  display: flex;
  justify-content: center;
  color: var(--accent);
}

.panel-mark svg {
  width: 160px;
  height: 160px;
}

@media (max-width: 720px) {
  .panel-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .panel-copy h2 {
    text-align: center;
  }

  .check-list li {
    text-align: left;
  }

  .panel-mark svg {
    width: 120px;
    height: 120px;
  }
}

.about-section {
  padding: 100px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.about-heading-col .eyebrow {
  text-align: left;
}

.about-heading-col h2 {
  text-align: left;
  margin-bottom: 0;
}

.about-copy-col {
  border-left: 2px solid var(--accent);
  padding-left: 32px;
}

.about-copy-col p {
  color: var(--muted);
  text-align: left;
  margin: 0 0 20px;
}

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

.about-callout {
  color: var(--text) !important;
  font-weight: 600;
  font-size: 1.15rem;
}

@media (max-width: 800px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy-col {
    border-left: none;
    border-top: 2px solid var(--accent);
    padding-left: 0;
    padding-top: 28px;
  }
}

#contact p {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
}

#contact {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-card {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 40px;
  background: rgba(22, 22, 22, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 245, 245, 0.08);
  border-radius: 24px;
}

#contact .contact-card p {
  text-align: left;
  margin: 0;
}

#contact .contact-card p + p {
  margin-top: 4px;
}

#contact .contact-card p:last-of-type {
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .contact-card {
    padding: 28px 20px;
  }
}

#contact::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 25% 30%, rgba(196, 216, 46, 0.09), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(196, 216, 46, 0.06), transparent 40%);
  background-size: 200% 200%;
  animation: hero-gradient-shift 20s ease-in-out infinite;
  z-index: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  #contact::before {
    animation: none;
  }
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-row label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-mono);
}

.form-row input,
.form-row textarea {
  background: var(--bg-alt);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-btn {
  padding: 10px 16px;
  border: 1px solid #222;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.option-btn:hover {
  color: var(--text);
}

.option-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.option-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0d;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

.form-status {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  min-height: 1.2em;
}

#contact .form-status.is-error {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid #222;
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
