:root {
  --bg: #0a0a0a;
  --surface: rgba(255,255,255,0.03);
  --surface-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.18);
  --gold: #c9a86c;
  --gold-hover: #dbb982;
  --white: #ffffff;
  --muted: rgba(255,255,255,0.55);
  --dim: rgba(255,255,255,0.3);
  --logo-height: clamp(2.4rem, 5vw, 3rem);
  --header-height: calc(var(--logo-height) + 2.5rem);
}

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

img { max-width: 100%; }

body { overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  padding-top: var(--header-height);
}

.font-display { font-family: 'Bebas Neue', 'Inter', sans-serif; letter-spacing: 0.04em; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: var(--logo-height);
  width: auto;
  max-width: 22rem;
  display: block;
  border-radius: 0.5rem;
  object-fit: contain;
  transition: transform 0.25s;
}

.logo img:hover { transform: scale(1.03); }

nav ul {
  display: flex;
  gap: clamp(1rem, 4vw, 2.5rem);
  list-style: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: color 0.2s;
}

nav a:hover { color: var(--white); }

nav a.active { color: var(--gold); }

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 2rem);
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-socials .team-social {
  width: 1.9rem;
  height: 1.9rem;
}

.btn-fund {
  padding: 0.55rem 1.1rem;
  font-size: 0.68rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(calc(0.3rem + 2px)) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(calc(-0.3rem - 2px)) rotate(-45deg); }

@media (max-width: 760px) {
  .header-socials { display: none; }
  .btn-fund { padding: 0.45rem 0.85rem; font-size: 0.6rem; }
  .nav-toggle { display: flex; }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 5% 1rem;
    background: rgba(8,8,8,0.97);
    border-bottom: 1px solid var(--border);
  }

  header.nav-open nav ul { display: flex; }

  nav a {
    display: block;
    padding: 0.9rem 0;
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
  }

  nav li:first-child a { border-top: 0; }
}

@media (max-width: 560px) {
  .logo img { max-width: 55vw; }
}

main { position: relative; z-index: 1; }

section { padding: 5rem 5%; }
@media (min-width: 900px) { section { padding: 7rem 5%; } }
@media (min-width: 1400px) { section { padding: 8rem 5%; } }

.section-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  color: var(--gold);
  margin-bottom: 2rem;
  text-align: center;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  min-height: max(calc(100svh - var(--header-height)), 56.25vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 18vw, 12rem);
  line-height: 0.85;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero .tagline {
  color: var(--white);
  font-size: clamp(0.85rem, 2.5vw, 1.15rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero .sub {
  color: var(--muted);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 30rem;
  padding: 0 1rem;
}

.why-pixson {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.why-pixson .statement {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 7vw, 3.2rem);
  color: var(--white);
  text-align: center;
  margin: 0.5rem auto 1.5rem;
}

.why-pixson p {
  color: var(--muted);
  max-width: 45rem;
  margin: 0.75rem auto;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 850px) {
  .projects-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  background: var(--surface-hover);
}

.project-media {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
  display: block;
}

.project-body { padding: clamp(1.25rem, 3vw, 2rem); }

.project-meta {
  color: var(--gold);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.project-desc {
  color: var(--muted);
  font-size: clamp(0.88rem, 1.8vw, 0.97rem);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: all 0.25s;
  border: 1px solid var(--border-light);
}

.btn-primary {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn-outline {
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--surface-hover);
  color: var(--gold);
  border-color: var(--gold);
}

.about-section { background: #060606; }

.contact-block {
  text-align: center;
  margin-top: 2.5rem;
}

.contact-block p {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.creative-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .creative-team { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

@media (min-width: 1100px) {
  .creative-team { gap: 2.5rem; }
}

.team-card { text-align: center; }

.team-avatar {
  width: min(100%, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-light);
  margin: 0 auto 1rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform 0.4s, filter 0.3s;
}

.team-card:hover .team-avatar img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.team-nameplate {
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  padding: 0.6rem 0.4rem;
  margin: 0 0.25rem 0.75rem;
}

.team-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.team-role {
  color: var(--gold);
  font-size: clamp(0.6rem, 1.4vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.team-school {
  color: var(--dim);
  font-size: clamp(0.75rem, 1.6vw, 0.85rem);
  line-height: 1.4;
  max-width: 14rem;
  margin: 0 auto 0.75rem;
}

.team-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--white);
  transition: all 0.25s;
}

.team-social:hover {
  background: var(--surface-hover);
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.1);
}

footer {
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 0.85rem;
}

footer .socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

footer .socials a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

footer .footer-nav a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

@media (max-width: 480px) {
  nav a { font-size: 0.6rem; letter-spacing: 0.12em; }
  .section-title { margin-bottom: 1.5rem; }
}

@media (min-width: 1400px) {
  .section-inner { max-width: 1300px; }
  .team-avatar { max-width: 210px; }
}
