/* ---------- Reset & variables ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --text: #f2f0ea;
  --text-dim: #9a9890;
  --border: #262626;
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Clash Display', 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
em { font-style: normal; font-family: var(--font-display); font-weight: inherit; }

/* ---------- Scroll reveal ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
}

.nav-desktop {
  display: flex;
  gap: 32px;
}
.nav-desktop a {
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav-desktop a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  z-index: 99;
}
.mobile-nav.open { max-height: 300px; }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 24px;
}
.mobile-nav a {
  padding: 14px 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 76px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.45) 45%, rgba(10,10,10,0.85) 100%);
}
.hero-center {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}
.hero-name {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}
.btn {
  display: inline-block;
  margin-top: 36px;
  padding: 16px 32px;
  border: 1px solid var(--text);
  border-radius: 100px;
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.btn-large {
  font-size: 1.1rem;
  padding: 18px 40px;
}

.scroll-cue {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
section {
  padding: 140px 0;
  border-bottom: 1px solid var(--border);
}
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.work h2, .about h2, .contact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 56px;
  max-width: 640px;
}

/* ---------- Work list ---------- */
.work-list {
  display: flex;
  flex-direction: column;
}
.work-row {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.work-list .work-row:last-child {
  border-bottom: 1px solid var(--border);
}
.work-row:nth-child(even) {
  flex-direction: row-reverse;
}
.work-media {
  flex: 1 1 58%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}
.work-row:hover .work-media {
  transform: translateY(-4px);
}
.work-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-info {
  flex: 1 1 42%;
}
.work-index {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.work-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 10px;
}
.work-info p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about-text p {
  color: var(--text-dim);
  margin-top: 20px;
  max-width: 560px;
}
.about-scope {
  margin-top: 28px !important;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  opacity: 0.75;
}

/* ---------- Contact ---------- */
.contact {
  text-align: center;
  border-bottom: none;
}
.contact .container { display: flex; flex-direction: column; align-items: center; }
.contact p {
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.socials { display: flex; gap: 20px; }
.socials a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .work-row, .work-row:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  section { padding: 96px 0; }
}
