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

:root {
  --bg:       #06060a;
  --surface:  #0d0d12;
  --surface2: #121219;
  --border:   rgba(255,255,255,0.06);
  --gold:     #c8a44a;
  --gold-dim: #7a602a;
  --gold-bright: #eecf6d;
  --text:     #e2e2ea;
  --muted:    #6a6a7e;
  --faint:    rgba(255,255,255,0.03);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── FILM GRAIN ──────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  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-size: 180px 180px;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3rem;
  background: rgba(6,6,10,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav .logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

nav ul { list-style: none; display: flex; gap: 2.2rem; }

nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
nav ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
nav ul a:hover { color: var(--gold); }
nav ul a:hover::after { width: 100%; }

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 7rem 2rem 5rem;
  overflow: hidden;
}

/* ── HERO CANVAS ────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.hero-content { position: relative; z-index: 2; max-width: 1000px; width: 100%; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 2.2rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold-dim);
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 0.2em;
}

.hero-name-first {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(5rem, 14vw, 11rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200,164,74,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-name-last {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(5.5rem, 16vw, 13rem);
  background: linear-gradient(160deg, var(--gold-bright) 0%, var(--gold) 40%, #8a6020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  margin: 1.8rem auto 2.5rem;
  line-height: 1.7;
}
.hero-sub strong { color: var(--text); font-style: normal; font-family: 'Inter', sans-serif; font-weight: 600; }

.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: #06060a;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,164,74,0.3);
}

.btn-secondary {
  border: 1px solid rgba(200,164,74,0.3);
  color: var(--gold);
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(200,164,74,0.06);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 5rem;
  flex-wrap: nowrap;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  border-left: 1px solid var(--border);
  position: relative;
  flex: 1;
  min-width: 0;
}
.stat-item:last-child { border-right: 1px solid var(--border); }

.stat-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.04em;
}
.stat-label {
  font-size: clamp(0.55rem, 0.9vw, 0.68rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0.4rem;
  white-space: nowrap;
}

/* ── SHARED SECTION ──────────────────────────── */
section { padding: 7rem 2rem; position: relative; }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold-dim);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 0.95;
  margin-bottom: 1.2rem;
}

.section-desc {
  color: var(--text);
  max-width: 480px;
  font-size: 1rem;
  margin-bottom: 4rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* ── WATERMARK TEXT ──────────────────────────── */
.section-watermark {
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(8rem, 20vw, 18rem);
  color: rgba(255,255,255,0.018);
  letter-spacing: 0.05em;
  pointer-events: none;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}

/* ── ABOUT ───────────────────────────────────── */
#about {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
#about .section-watermark { top: 3rem; right: -2rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 780px;
  gap: 6rem;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1.3rem;
  line-height: 1.85;
  font-size: 1rem;
}
.about-text p strong { color: var(--text); font-weight: 600; }

.about-pull {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.about-highlights { display: flex; flex-direction: column; gap: 0; }

.highlight-card {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: padding-left 0.3s ease;
}
.highlight-card:first-child { border-top: 1px solid var(--border); }
.highlight-card:hover { padding-left: 0.5rem; }

.highlight-card .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

.highlight-card h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.highlight-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── CAREER ──────────────────────────────────── */
#career { background: var(--bg); }
#career .section-watermark { top: 2rem; left: -1rem; }

.timeline { position: relative; padding-left: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 3rem;
  margin-bottom: 4.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 200px;
  top: 0.6rem;
  bottom: -4.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
}
.timeline-item:last-child::before { display: none; }

.timeline-left { text-align: right; padding-right: 3rem; position: relative; }

.timeline-left::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 0.55rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
  box-shadow: 0 0 14px rgba(200,164,74,0.6);
}

.timeline-years {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}

.timeline-company {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.timeline-role {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.timeline-desc {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.8;
  max-width: 640px;
}
.timeline-desc strong { color: var(--text); font-weight: 600; }

.timeline-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tag {
  font-size: 0.68rem;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  letter-spacing: 0.04em;
}

/* ── GAMES ───────────────────────────────────── */
#games {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
#games .section-watermark { top: 2rem; right: -1rem; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.game-card {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.game-card:hover { border-color: rgba(200,164,74,0.25); z-index: 2; }

.game-banner {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.1rem;
}

.game-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,6,10,0.97) 0%, rgba(6,6,10,0.3) 50%, transparent 100%);
  z-index: 1;
}

.game-banner img.keyart {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
  filter: saturate(0.8) brightness(0.85);
}
.game-card:hover .keyart {
  transform: scale(1.04);
  filter: saturate(1.0) brightness(0.95);
}

.game-cod1    { background: linear-gradient(135deg, #1c1200, #3a2600); }
.game-cod2    { background: linear-gradient(135deg, #0d1a0d, #1a3b18); }
.game-codmw   { background: linear-gradient(135deg, #0a0d1a, #171f40); }
.game-codmw2  { background: linear-gradient(135deg, #1a0000, #3a0505); }
.game-titanfall  { background: linear-gradient(135deg, #001624, #003348); }
.game-titanfall2 { background: linear-gradient(135deg, #08001a, #180035); }
.game-apex    { background: linear-gradient(135deg, #1a0800, #3a1200); }
.game-highguard { background: linear-gradient(135deg, #000e1a, #001c38); }

/* Gold top edge on hover */
.game-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.game-card:hover::before { opacity: 1; }

.game-title-banner {
  position: relative;
  z-index: 2;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #eecf6d, #c8a44a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.game-body { padding: 1.1rem 1.3rem 1.4rem; }

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.game-year {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-role-badge {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.55rem;
  font-weight: 700;
}
.role-director { background: rgba(200,164,74,0.12); color: var(--gold); border: 1px solid rgba(200,164,74,0.25); }
.role-designer { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border); }
.role-founder  { background: rgba(120,180,255,0.1); color: #7ab4ff; border: 1px solid rgba(120,180,255,0.2); }

.game-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.game-award {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-credits {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.game-credits-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.45rem;
  display: block;
}

.game-credits-list { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.credit-tag {
  font-size: 0.7rem;
  color: rgba(200,164,74,0.85);
  background: rgba(200,164,74,0.07);
  border: 1px solid rgba(200,164,74,0.18);
  padding: 0.18rem 0.55rem;
  font-weight: 500;
}

/* ── CONTACT ─────────────────────────────────── */
#contact {
  background: var(--bg);
  overflow: hidden;
}
#contact .section-watermark {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(6rem, 15vw, 14rem);
}

.contact-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner .section-label { justify-content: center; }
.contact-inner .section-label::before { display: none; }
.contact-inner .section-label::after {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold-dim);
}

.contact-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 0.8rem;
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-link:hover { transform: translateY(-2px); }

.link-linkedin { background: #0077b5; color: #fff; }
.link-linkedin:hover { box-shadow: 0 8px 30px rgba(0,119,181,0.35); }

.link-email {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(200,164,74,0.35);
}
.link-email:hover {
  background: rgba(200,164,74,0.06);
  box-shadow: 0 8px 30px rgba(200,164,74,0.12);
  border-color: var(--gold);
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ── SCROLL ANIMATIONS ───────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  nav ul { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem 0; }
  .timeline-item::before { display: none; }
  .timeline-left { text-align: left; padding-right: 0; }
  .timeline-left::after { display: none; }
  .hero-stats { gap: 0; }
  .stat-item { padding: 1.2rem 1.5rem; }
}

@media (max-width: 580px) {
  .games-grid { grid-template-columns: 1fr; }
  .hero-name-first { font-size: clamp(4rem, 20vw, 6rem); }
  .hero-name-last  { font-size: clamp(4.5rem, 22vw, 7rem); }
}
