:root {
  --bg: #0a0a0a;
  --fg: #f4f1ec;
  --muted: #8a857d;
  --line: rgba(244, 241, 236, 0.16);
  --accent: #f4f1ec;
  --maxw: 1480px;
  --pad: clamp(20px, 5vw, 80px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Outlined display type ---------- */
.outline {
  font-family: "Anton", "Archivo", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
  text-stroke: 1.5px var(--fg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* cover the viewport with a 16:9 video */
  width: 100vw;
  height: 56.25vw;       /* 16:9 height based on width */
  min-height: 100svh;
  min-width: 177.77svh;  /* 16:9 width based on height */
  transform: translate(-50%, -50%);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 40%, rgba(10,10,10,0.25), rgba(10,10,10,0.78)),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.1) 35%, rgba(10,10,10,0.85) 100%);
}

/* nav */
.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 40px) var(--pad);
}
.nav__mark {
  font-family: "Anton", sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
}
.nav__links {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  list-style: none;
}
.nav__links a {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.85;
  transition: opacity 0.25s;
}
.nav__links a:hover { opacity: 0.5; }

/* name block */
.hero__name {
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: auto;
  padding: 0 var(--pad);
}
.hero__name h1 {
  font-size: clamp(72px, 18vw, 320px);
  -webkit-text-stroke-width: clamp(1.2px, 0.25vw, 3px);
}
.hero__role {
  margin-top: clamp(14px, 2vw, 26px);
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--fg);
}

/* scroll cue */
.hero__cue {
  position: relative;
  z-index: 3;
  margin: 0 var(--pad) clamp(24px, 4vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: flex-start;
}
.hero__cue-line {
  width: 64px;
  height: 1px;
  background: var(--muted);
  position: relative;
  overflow: hidden;
}
.hero__cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fg);
  transform: translateX(-100%);
  animation: slide 2.4s infinite;
}
@keyframes slide { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ---------- SECTION HEADINGS ---------- */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 180px) var(--pad) clamp(28px, 4vw, 48px);
}
.section-head__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.section-head__title {
  margin-top: 22px;
  font-size: clamp(26px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 14ch;
}

/* ---------- WORK GRID ---------- */
.grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.8vw, 28px);
}
.card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: #141414;
  border: 1px solid var(--line);
}
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.7);
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.5s;
}
.card:hover img { transform: scale(1.05); filter: grayscale(0%) brightness(0.9); }
.card__meta {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: clamp(18px, 2vw, 30px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(transparent, rgba(8,8,8,0.55) 45%, rgba(8,8,8,0.92));
}
.card__brand {
  font-family: "Anton", sans-serif;
  font-size: clamp(20px, 2.4vw, 34px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--fg);
  text-shadow: 0 1px 18px rgba(0,0,0,0.6);
}
.card__title {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 6px;
}
.card__credit {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.78);
}
.card__play {
  flex: none;
  width: 46px; height: 46px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s;
}
.card__play::before {
  content: "";
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 3px;
}
.card:hover .card__play { background: var(--fg); color: var(--bg); }

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
}

/* ---------- ABOUT ---------- */
.about__body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(40px, 6vw, 90px);
  max-width: 980px;
}
.about__lead {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.about__body p {
  font-size: clamp(15px, 1.3vw, 19px);
  color: #cfc9c0;
  max-width: 62ch;
  margin-bottom: 20px;
}
.about__brands {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  margin-top: 38px;
}
.about__brands li {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 100px;
}

/* ---------- CONTACT ---------- */
.contact__body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
}
.contact__cta {
  font-size: clamp(64px, 13vw, 220px);
  -webkit-text-stroke-width: clamp(1.2px, 0.22vw, 3px);
}
.contact__list { list-style: none; }
.contact__list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__list a {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  transition: opacity 0.25s;
}
.contact__list a:hover { opacity: 0.55; }

@media (max-width: 720px) {
  .contact__body { grid-template-columns: 1fr; }
}

.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 10vh, 140px) var(--pad) clamp(36px, 5vw, 60px);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- WHATSAPP ---------- */
.wa {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}
.wa:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55); }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6,6,6,0.94);
  display: none;
  place-items: center;
  padding: var(--pad);
  backdrop-filter: blur(6px);
}
.lightbox.open { display: grid; }
.lightbox__frame {
  width: min(100%, 1200px);
  aspect-ratio: 16 / 9;
}
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close {
  position: absolute;
  top: clamp(18px, 3vw, 36px);
  right: clamp(18px, 3vw, 36px);
  width: 52px; height: 52px;
  background: none;
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.25s, color 0.25s;
}
.lightbox__close:hover { background: var(--fg); color: var(--bg); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
