:root {
  --void: #08090a;
  --carbon: #0f1011;
  --surface-2: #161718;
  --border: #23252a;
  --border-strong: #383b3f;
  --text: #ffffff;
  --text-muted: #d0d6e0;
  --text-dim: #8a8f98;
  --accent: #e4f222;
  --accent-text: #08090a;

  --max-width: 1200px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 24px;
  --space-4: 96px;

  --radius-btn: 6px;
  --radius-card: 12px;
  --radius-pill: 9999px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--text-muted);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

h1, h2, h3 {
  color: var(--text);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.018em; font-weight: 500; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 500; }

p { margin: 0; }

a {
  color: var(--text);
  text-decoration: none;
}

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-2);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 10, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.15s ease;
}

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

.logo-mark {
  width: 18px;
  height: 18px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 9px;
  font-family: inherit;
  font-size: 11px;
  color: var(--text-dim);
  cursor: pointer;
}

.lang-opt { padding: 0 2px; color: var(--text-dim); }
.lang-opt.is-active { color: var(--text); font-weight: 500; }
.lang-sep { color: var(--border-strong); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-btn);
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 1px;
  margin: 0 6px;
  background: var(--text-muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  border: 0.5px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover { opacity: 0.88; }

.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(1) brightness(0.85) contrast(1.1);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 10, 0.6);
  z-index: 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-name-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-3);
}

.hero-name {
  font-size: 88px;
  font-weight: 510;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 0;
}

.hero-mark {
  position: absolute;
  top: -40px;
  left: -50px;
  width: 80px;
  height: 80px;
  display: block;
  animation: hero-mark-float 6s ease-in-out infinite;
}

.hero-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 242, 34, 0.65) 0%, rgba(228, 242, 34, 0) 62%);
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 0;
  animation: hero-mark-glow 6s ease-in-out infinite;
}

@keyframes hero-mark-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

@keyframes hero-mark-glow {
  0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.65); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.4); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mark,
  .hero-mark::before { animation: none; }
}

.hero-quote {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 480px;
  font-weight: 300;
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  display: flex;
  z-index: 1;
  animation: float 2.4s ease-in-out infinite;
}

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

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

/* ---------- Section shared ---------- */

section {
  padding: var(--space-4) 0;
}

.section-lead {
  color: var(--text-dim);
  font-size: 16px;
  margin-top: var(--space-2);
}

.grid {
  display: grid;
  gap: var(--space-3);
}

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

/* ---------- Portfolio ---------- */

.portfolio {
  border-top: 0.5px solid var(--border);
}

.portfolio h2 {
  margin-bottom: var(--space-3);
}

.work-single {
  max-width: 480px;
}

.work-card {
  display: block;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--carbon);
  transition: border-color 0.15s ease;
}

.work-card:hover { border-color: var(--border-strong); }

.work-thumb {
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg, var(--surface-2), var(--surface-2) 10px, var(--carbon) 10px, var(--carbon) 20px);
  border-bottom: 0.5px solid var(--border);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-meta {
  padding: var(--space-3);
}

.work-meta h3 { margin-bottom: 4px; }

.work-meta p {
  font-size: 13px;
  color: var(--text-dim);
}

.work-link {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- Contact ---------- */

.contact {
  border-top: 0.5px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}

.contact h2 { margin-bottom: var(--space-2); }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.contact-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 15px;
  color: var(--text);
}

a.contact-value:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--carbon);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
}

.field input,
.field textarea {
  background: var(--void);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

.footer {
  padding: var(--space-3) 0;
  border-top: 0.5px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--carbon);
    border-bottom: 0.5px solid var(--border);
    padding: var(--space-3);
    gap: var(--space-3);
  }

  .hero-name { font-size: clamp(28px, 11.5vw, 48px); }
  .hero-quote { font-size: 16px; }

  .hero-mark {
    top: -24px;
    left: -20px;
    width: 38px;
    height: 38px;
  }

  .hero-mark::before {
    width: 32px;
    height: 32px;
  }

  .grid-3 { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  h2 { font-size: 26px; }
  section { padding: var(--space-3) 0; }
}
