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

:root {
  --bg: #0a0a0a;
  --bg-alt: #121212;
  --border: #232323;
  --text: #ededed;
  --text-dim: #9a9a9a;
  --accent: #e0322a;
  --accent-dim: #a3251f;
  --max-width: 1180px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

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

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

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--accent); color: #0a0a0a; }

.btn.filled {
  background: var(--accent);
  color: #0a0a0a;
}
.btn.filled:hover { background: var(--accent-dim); border-color: var(--accent-dim); }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.logo span { color: var(--accent); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

nav.main-nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  transition: color 0.2s ease;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-shader {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-shader canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 10, 10, 0.6);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  text-align: center;
  justify-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  max-width: 900px;
}

.hero p.lead {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 620px;
}

.hero .cta-row {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.video-frame:hover .play-btn {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-frame .play-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--text);
  margin-left: 4px;
}
.video-frame.playing { cursor: default; }
.video-frame.playing .play-btn { display: none; }

.hero .video-frame {
  max-width: 900px;
  margin-top: 30px;
}

/* ---------- Sections ---------- */
section { padding: 90px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.section-head p { color: var(--text-dim); }

/* ---------- Portfolio grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 46px;
}

.work-item .video-frame { margin-bottom: 18px; }
.work-item .tag {
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  display: block;
}
.work-item h3 { font-size: 1.4rem; margin-bottom: 4px; }
.work-item p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg);
  padding: 40px 30px;
}
.service-card .icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; letter-spacing: 0.02em; }
.service-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Process / list style ---------- */
.simple-list {
  display: grid;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.simple-list li {
  list-style: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.simple-list li .num { color: var(--accent); font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.2rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: start;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-grid h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 20px; }
.about-grid p { color: var(--text-dim); margin-bottom: 18px; }

.info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 36px;
}
.info-card h3 { font-size: 1.2rem; margin-bottom: 22px; text-transform: uppercase; letter-spacing: 0.1em; }
.info-row { margin-bottom: 20px; }
.info-row .label {
  display: block;
  color: var(--text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.info-row a, .info-row span.value { font-size: 1.02rem; }
.info-row a:hover { color: var(--accent); }

.social-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.social-row a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  color: var(--text-dim);
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }
.social-row svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-wrap .logo { font-size: 1.2rem; }
footer .foot-meta { color: var(--text-dim); font-size: 0.82rem; text-align: right; }
footer .foot-meta a:hover { color: var(--accent); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  nav.main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
    padding: 20px 24px 30px;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 22px;
  }
  .nav-toggle { display: flex; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 46px; }
}
