:root {
  --bg: #070b16;
  --bg-soft: #10182c;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.14);
  --text: #ecf3ff;
  --text-soft: #b5c2da;
  --accent: #47d3ff;
  --accent-2: #9967ff;
  --success: #54db95;
  --warning: #ffd166;
  --radius: 1rem;
  --container: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 5%, rgba(71, 211, 255, 0.22), transparent 38%),
    radial-gradient(circle at 95% 15%, rgba(153, 103, 255, 0.2), transparent 40%),
    radial-gradient(circle at 50% 115%, rgba(84, 219, 149, 0.12), transparent 55%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100%;
  background: #fff;
  color: #111;
  padding: 0.5rem 0.75rem;
  z-index: 100;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 0.5rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 22, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  font-family: "Space Grotesk", sans-serif;
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #06111a;
}

.brand-text {
  letter-spacing: 0.02em;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.96rem;
}

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

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--text);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.2rem;
  align-items: start;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero h1 {
  margin: 0.8rem 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.08;
}

.hero-intro {
  margin: 0;
  max-width: 60ch;
  color: var(--text-soft);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.button-primary {
  border-color: transparent;
  color: #06111a;
  background: linear-gradient(135deg, var(--accent), var(--success));
}

.button-primary:hover {
  filter: brightness(1.04);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.03);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-stats li {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--surface);
  padding: 0.8rem 0.9rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-stats span {
  display: block;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.hero-visual {
  display: grid;
  gap: 0.85rem;
}

.hero-photo-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  overflow: hidden;
  background: var(--surface);
}

.hero-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
}

.hero-photo-card figcaption {
  font-size: 0.88rem;
  color: var(--text-soft);
  padding: 0.75rem 0.85rem;
}

.hero-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.hero-photo-strip img {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.section {
  padding: 3.8rem 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(7, 11, 22, 0) 0%, rgba(16, 24, 44, 0.62) 10%, rgba(16, 24, 44, 0.8) 100%);
}

.section-accent {
  background: linear-gradient(145deg, rgba(71, 211, 255, 0.08), rgba(153, 103, 255, 0.1));
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.76rem;
}

.section-heading h2 {
  margin: 0.4rem 0 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.45rem);
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  max-width: 68ch;
}

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

.project-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1rem;
  overflow: hidden;
  display: grid;
  gap: 0;
  position: relative;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--success));
  opacity: 0.86;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.28);
  border-color: rgba(71, 211, 255, 0.38);
}

.reveal-card {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 380ms ease var(--reveal-delay, 0ms),
    transform 380ms ease var(--reveal-delay, 0ms);
}

.project-image {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(71, 211, 255, 0.2), rgba(153, 103, 255, 0.22));
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.project-image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.project-topline,
.project-card h3,
.project-card p,
.project-meta,
.project-live {
  margin-left: 1rem;
  margin-right: 1rem;
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.9rem;
}

.project-type,
.project-status {
  font-size: 0.76rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  color: var(--text-soft);
}

.project-status.is-live {
  color: #04130d;
  background: var(--success);
  border-color: transparent;
}

.project-status.is-progress {
  color: #1d1402;
  background: var(--warning);
  border-color: transparent;
}

.project-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.project-card p {
  margin-top: 0.72rem;
  color: var(--text-soft);
  min-height: 4.7rem;
}

.project-meta {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
}

.project-meta li {
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.project-live {
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}

.project-live a,
.project-live span {
  font-size: 0.86rem;
}

.project-live a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
}

.project-live span {
  color: var(--text-soft);
}

.experience-list {
  display: grid;
  gap: 0.8rem;
}

.experience-item {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.experience-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
}

.experience-head h3 {
  margin: 0;
  font-size: 1.04rem;
}

.experience-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.experience-copy {
  margin-top: 0.45rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
}

.about-layout h2 {
  margin: 0.45rem 0 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
}

.about-copy p {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
}

.panel {
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: var(--surface);
  padding: 0.95rem;
}

.panel + .panel {
  margin-top: 0.9rem;
}

.panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.skills-list,
.certifications-list,
.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills-list li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.certifications-list li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  color: var(--text-soft);
}

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

.contact-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.2fr 1fr;
}

.contact-layout h2 {
  margin: 0.45rem 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
}

#contact-subtext {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.audience-summary {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.9rem 1rem;
  margin-bottom: 0.95rem;
}

.audience-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.audience-total {
  margin: 0.2rem 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.1;
}

.audience-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.social-links {
  display: grid;
  gap: 0.65rem;
}

.social-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.72rem 0.82rem;
  background: rgba(255, 255, 255, 0.04);
}

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

.social-left {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.social-logo {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 0.25rem;
  filter: invert(1);
}

.social-label {
  display: block;
  font-weight: 700;
}

.social-handle {
  display: block;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.social-count {
  font-size: 0.84rem;
  color: #d2e2ff;
  font-weight: 700;
}

.social-metrics {
  display: inline-grid;
  justify-items: end;
  gap: 0.1rem;
}

.social-secondary {
  color: #b4c6e7;
  font-size: 0.74rem;
}

.tone-linkedin {
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.18), rgba(10, 102, 194, 0.05));
}

.tone-instagram {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(245, 96, 64, 0.08));
}

.tone-tiktok {
  background: linear-gradient(135deg, rgba(37, 244, 238, 0.12), rgba(254, 44, 85, 0.12));
}

.tone-youtube {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.18), rgba(255, 0, 0, 0.06));
}

.contact-stack {
  display: grid;
  gap: 0.85rem;
}

.contact-form {
  display: grid;
  gap: 0.45rem;
}

.contact-form h3 {
  margin: 0;
  font-size: 1.05rem;
}

.form-hint {
  margin: 0 0 0.4rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.contact-form label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #d6e5ff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 0.6rem;
  padding: 0.58rem 0.65rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(71, 211, 255, 0.55);
  outline-offset: 1px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form .button {
  margin-top: 0.4rem;
  justify-content: center;
}

.contact-form-status {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.contact-form-status.is-success {
  color: #8ef0bf;
}

.hidden-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.2rem 0 1.5rem;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-layout p {
  margin: 0;
  color: var(--text-soft);
}

.footer-meta time {
  color: var(--text);
}

.is-empty {
  border: 1px dashed var(--border);
  border-radius: 0.95rem;
  padding: 0.95rem;
  color: var(--text-soft);
}

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

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

@media (min-width: 1220px) {
  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    right: 1.2rem;
    top: 4rem;
    width: min(13rem, calc(100% - 2.4rem));
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 0.7rem;
    background: rgba(11, 16, 32, 0.95);
    transform-origin: top right;
    transform: scale(0.97);
    opacity: 0;
    pointer-events: none;
    transition: 150ms ease;
  }

  .site-nav.is-open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }
}
