:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --accent: #c8f04a;
  --radius: 18px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; }

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

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.nav__logo span { color: var(--muted); }

.nav__links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links a:hover { opacity: 0.6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--big { font-size: 18px; padding: 18px 40px; }

/* ---------- intro ---------- */
.intro {
  padding: clamp(48px, 9vh, 96px) clamp(20px, 5vw, 64px) clamp(36px, 5vh, 56px);
  max-width: 760px;
}

.intro__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-bottom: clamp(28px, 6vh, 56px);
}

.intro__wordmark span { color: var(--muted); }

.intro__name {
  font-size: clamp(44px, 8vw, 76px);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1;
}

.intro__role {
  margin-top: 14px;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
}

.intro__role::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 9px;
  background: var(--accent);
  border-radius: 3px;
  margin-right: 10px;
  vertical-align: middle;
}

.intro__bio {
  margin-top: 22px;
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--muted);
  max-width: 600px;
}

/* ---------- work / filters ---------- */
.work { padding: 0 0 90px; }

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 clamp(20px, 5vw, 64px);
  margin-bottom: 30px;
}

.filter {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 64px);
}

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f3f3f3;
  cursor: pointer;
  aspect-ratio: 9 / 16;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14); }

.card--wide { grid-column: span 2; aspect-ratio: 16 / 9; }

.card img,
.card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card video { opacity: 0; transition: opacity 0.2s ease; }
.card.is-playing video { opacity: 1; }

.card__label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.card__title {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.card__cat {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: var(--ink);
  padding: 3px 9px;
  border-radius: 999px;
}

.card__shade {
  position: absolute;
  inset: 50% 0 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  z-index: 1;
}

.card.is-hidden { display: none; }

/* ---------- method ---------- */
.method { padding: 80px 0 90px; border-top: 1px solid var(--line); }

.method__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 64px);
}

.method__steps li {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.method__steps li:hover { border-color: var(--ink); transform: translateY(-3px); }

.method__steps span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}

.method__steps h3 { font-size: 21px; margin: 10px 0 8px; }
.method__steps p { font-size: 14.5px; color: var(--muted); }

/* ---------- about ---------- */
.about { padding: 90px clamp(20px, 5vw, 64px); border-top: 1px solid var(--line); }
.about__inner { max-width: 720px; }
.about h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 22px; }
.about p { font-size: 17px; color: var(--muted); margin-bottom: 14px; }

/* ---------- cta ---------- */
.cta {
  margin: 0 clamp(20px, 5vw, 64px) 90px;
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: clamp(50px, 8vw, 90px) clamp(24px, 6vw, 80px);
  text-align: center;
}

.cta h2 { font-size: clamp(30px, 5vw, 54px); letter-spacing: -0.02em; }
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { color: #b8b8b8; margin: 16px 0 32px; font-size: 17px; }
.cta .btn--primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.cta .btn--primary:hover { background: #fff; border-color: #fff; }

/* ---------- footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 26px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}

.lightbox[hidden] { display: none; }

.lightbox video {
  max-height: 92vh;
  max-width: 92vw;
  border-radius: 14px;
  outline: none;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 22px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  .nav__links { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 14px; }
  .card--wide { grid-column: span 2; }
}
