:root {
  --ink: #0A0D0B;
  --panel: #10140F;
  --panel-2: #161B15;
  --cream: #F4EFE3;
  --cream-dim: #9DA69C;
  --emerald: #12B886;
  --emerald-dim: #0B7A5A;
  --hairline: rgba(244, 239, 227, 0.14);
  --ff-display: "Anton", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--ff-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* film grain, SVG noise, no external asset needed */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
}
.grain::after {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.5rem, 5vw, 4rem);
}
.nav__mark {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.nav__links { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); }
.nav__links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  transition: color 0.3s ease;
}
.nav__links a:hover { color: var(--emerald); }
.nav__linkedin {
  border: 1px solid var(--hairline);
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.nav__linkedin:hover { border-color: var(--emerald); color: var(--emerald); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,13,11,0.25) 0%, rgba(10,13,11,0.85) 70%, var(--ink) 100%);
}
.hero__type {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}
.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 1.2rem;
}
.hero__name {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 14vw, 11rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  margin: 0 0 1.6rem;
  color: var(--cream);
}
.hero__name-line { display: block; }
.hero__name .char { display: inline-block; }
.hero__sub {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--cream-dim);
  max-width: 46ch;
  margin: 0 auto;
}
.hero__scrolldown {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 48px;
  background: var(--hairline);
  overflow: hidden;
}
.hero__scrolldown span {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--emerald);
  animation: scrolldown 2s ease-in-out infinite;
}
@keyframes scrolldown {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- INTRO / REEL ---------- */
.intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem clamp(1.5rem, 5vw, 3rem);
}
.intro__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 1rem;
}
.intro__text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 62ch;
  color: var(--cream-dim);
  margin: 0 0 2.5rem;
}
.intro__player {
  border: 1px solid var(--hairline);
  background: var(--panel);
}
.intro__video { width: 100%; aspect-ratio: 16/9; background: #000; }

/* ---------- STATS ---------- */
.stats {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 3.5rem clamp(1.5rem, 5vw, 3rem);
}
.stats__row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.stat__label {
  font-size: 0.82rem;
  color: var(--cream-dim);
  max-width: 20ch;
  margin: 0 auto;
  display: block;
}

/* ---------- PILLARS ---------- */
.pillars {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem clamp(1.5rem, 5vw, 3rem);
}
.pillars__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 1rem;
}
.pillars__heading {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 0 0 3.5rem;
}
.pillar {
  display: grid;
  grid-template-columns: 90px 1fr 200px;
  gap: 2rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--hairline);
  align-items: center;
}
.pillar:last-child { border-bottom: 1px solid var(--hairline); }
.pillar__index {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--emerald-dim);
}
.pillar__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 0.8rem;
}
.pillar__desc {
  font-size: 1.05rem;
  color: var(--cream-dim);
  max-width: 60ch;
  margin: 0;
}
.pillar__media {
  aspect-ratio: 4/3;
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: var(--panel);
}
.pillar__media video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- WORK GRID ---------- */
.work {
  max-width: 1300px;
  margin: 0 auto;
  padding: 7rem clamp(1.5rem, 5vw, 3rem);
  border-top: 1px solid var(--hairline);
}
.work__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 1rem;
}
.work__heading {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 0 0 1rem;
}
.work__intro {
  color: var(--cream-dim);
  max-width: 60ch;
  margin: 0 0 3rem;
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.4rem;
}
.work-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--hairline);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--emerald);
}
.work-card__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.05;
  margin: 0 0 0.5rem;
}
.work-card__tag {
  font-size: 0.72rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}
.work-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(18,184,134,0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.work-card:hover .work-card__glow { opacity: 1; }
.work-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.work-card--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,13,11,0.92) 100%);
  z-index: 1;
  pointer-events: none;
}
.work-card__empty-label {
  display: none;
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  z-index: 2;
}
.work-card--empty {
  border-style: dashed;
}
.work-card--empty .work-card__empty-label { display: block; }
.work-card--empty::before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-family: var(--ff-display);
  font-size: 2.4rem;
  color: var(--hairline);
  z-index: 0;
}
.work-card__title, .work-card__tag { position: relative; z-index: 2; }

/* ---------- ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 7rem clamp(1.5rem, 5vw, 3rem);
  border-top: 1px solid var(--hairline);
}
.about__photo {
  aspect-ratio: 4/5;
  border: 1px solid var(--hairline);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo-pending {
  color: var(--cream-dim);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px dashed var(--hairline);
  padding: 1rem 1.4rem;
}
.about__bio {
  font-size: 1.05rem;
  max-width: 56ch;
  color: var(--cream-dim);
  margin: 0 0 1.2rem;
}
.about__bio:last-of-type { margin-bottom: 0; }

/* ---------- FINALE ---------- */
.finale {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 9rem clamp(1.5rem, 5vw, 3rem) 10rem;
  border-top: 1px solid var(--hairline);
}
.finale__bgvideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}
.finale__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,13,11,0.5) 0%, var(--ink) 75%);
  z-index: 0;
}
.finale__heading, .finale__buttons {
  position: relative;
  z-index: 1;
}
.finale__heading {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5rem);
  margin: 0 0 3rem;
}
.finale__buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta {
  display: inline-block;
  padding: 1.1rem 2.6rem;
  font-family: var(--ff-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.cta--primary {
  background: var(--emerald);
  color: var(--ink);
  transition: background 0.3s ease;
}
.cta--primary:hover { background: var(--cream); }
.cta--ghost {
  border: 1px solid var(--cream);
  color: var(--cream);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.cta--ghost:hover { border-color: var(--emerald); color: var(--emerald); }

/* ---------- FOOTER ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem clamp(1.5rem, 5vw, 3rem) 2.5rem;
  font-size: 0.8rem;
  color: var(--cream-dim);
  border-top: 1px solid var(--hairline);
}
.footer a { transition: color 0.3s ease; }
.footer a:hover { color: var(--emerald); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  .stats__row { grid-template-columns: repeat(2, 1fr); }
  .pillar { grid-template-columns: 50px 1fr; }
  .pillar__media { grid-column: 1 / -1; max-width: 320px; margin-top: 1rem; }
  .about { grid-template-columns: 1fr; }
  .about__photo { order: -1; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .nav__links { display: none; }
}
