﻿:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --text: #dadada;
  --muted: #9a9a9a;
  --white: #ffffff;
  --accent: #ffd600;
  --card: rgba(255, 255, 255, 0.04);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 60%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

img { width: 100%; display: block; border-radius: 12px; }
a { color: var(--text); text-decoration: none; }

.bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='320' height='320' viewBox='0 0 320 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40c40-10 80-10 120 0s80 10 120 0 80-10 120 0' fill='none' stroke='%231a1a1a' stroke-width='1'/%3E%3Cpath d='M0 120c60-12 120-12 180 0s120 12 180 0' fill='none' stroke='%23151515' stroke-width='1'/%3E%3Cpath d='M0 200c50 8 100 8 150 0s100-8 150 0' fill='none' stroke='%231c1c1c' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: screen;
  z-index: 0;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-nav nav { display: flex; gap: 22px; font-size: 14px; letter-spacing: 0.02em; }
.top-nav nav a { position: relative; padding-bottom: 4px; }
.top-nav nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.top-nav nav a:hover::after { width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em; color: var(--muted); }
.mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 214, 0, 0.07);
}

main { position: relative; z-index: 1; }
section { padding: 90px 5vw; max-width: 1300px; margin: 0 auto; }
.section-heading { margin-bottom: 36px; }
.kicker { text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; color: var(--accent); margin: 0 0 8px; }
h1, h2, h3 { font-family: 'Poppins', 'Inter', sans-serif; margin: 0; color: var(--white); letter-spacing: 0.02em; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 20px; }
.lead { font-size: 18px; color: var(--muted); max-width: 680px; line-height: 1.6; }
.body { color: var(--text); line-height: 1.7; font-size: 17px; }
.muted { color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
  padding-top: 120px;
}
.hero-content { position: relative; }
.hero-content::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 10px;
  width: 3px;
  height: 80px;
  background: linear-gradient(var(--accent), transparent);
}
.hero-actions { display: flex; gap: 14px; margin-top: 24px; }

.hero-media img { border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--shadow); }
.hero-video { margin-top: 10px; width: 100%; max-width: 560px; }
.hero-video-link { position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.hero-video-link img { width: 100%; height: auto; display: block; }
.hero-video-link::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.35) 100%); }
.hero-video-link .video-play { position: absolute; left: 12px; bottom: 12px; background: #000; color: #ffd600; border-radius: 50%; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; box-shadow: 0 12px 28px rgba(0,0,0,0.3); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.btn.primary { background: var(--accent); color: #1a1a1a; border-color: var(--accent); box-shadow: 0 12px 30px rgba(255, 214, 0, 0.25); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255, 214, 0, 0.3); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

.credo {
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--white);
}
.credo blockquote { margin: 0; }
.credo cite { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.stats {
  background: radial-gradient(circle at 20% 20%, rgba(255, 214, 0, 0.06), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(255, 214, 0, 0.05), transparent 35%);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}
.stat-intro { margin-bottom: 28px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat-card { padding: 18px; background: var(--card); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 14px; backdrop-filter: blur(6px); }
.stat-number { display: block; font-size: 26px; color: var(--white); font-weight: 700; }
.stat-label { color: var(--muted); font-size: 14px; letter-spacing: 0.02em; }

.gallery { width: 100%; }
.gallery-item { overflow: hidden; border-radius: 14px; background: var(--card); }
.gallery-horizontal { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.gallery-horizontal .gallery-item { min-width: 260px; scroll-snap-align: start; border: 1px solid rgba(255, 255, 255, 0.05); }
.gallery-horizontal::-webkit-scrollbar { height: 6px; }
.gallery-horizontal::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.25); border-radius: 10px; }

.gallery-parallax { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); grid-auto-rows: 230px; gap: 44px; align-items: stretch; padding: 20px 16px; }
.gallery-parallax .gallery-item { border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: var(--shadow); height: 100%; }
.gallery-parallax img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-parallax .tall { grid-row: span 2; }
.gallery-parallax .layout-left-top { grid-column: 1; grid-row: 1; }
.gallery-parallax .layout-left-bottom { grid-column: 1; grid-row: 2; }
.gallery-parallax .layout-center { grid-column: 2; }
.gallery-parallax .layout-right-top { grid-column: 3; grid-row: 1; }
.gallery-parallax .layout-right-bottom { grid-column: 3; grid-row: 2; }

@media (max-width: 960px) {
  .gallery-parallax {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: auto;
    gap: 24px;
    padding: 0;
  }
  .gallery-parallax .gallery-item {
    grid-column: auto;
    grid-row: auto;
    height: auto;
  }
  .gallery-parallax .tall { grid-row: auto; }
}

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; background: #f4f4f4; color: #111; padding: 18px; border-radius: var(--radius); grid-auto-rows: 240px; }
.gallery-grid .gallery-item { position: relative; height: 100%; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); border: none; background: #e8e8e8; }
.gallery-grid .gallery-item.wide { grid-column: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

.gallery-masonry { column-count: 3; column-gap: 14px; }
.gallery-masonry .gallery-item { margin-bottom: 14px; break-inside: avoid; border: 1px solid rgba(255, 255, 255, 0.05); }

.experience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.exp-card { padding: 16px; background: var(--card); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 14px; }
.exp-card p { margin: 6px 0 0; color: var(--muted); }

.skills .skill-list { display: grid; gap: 14px; }
.skill-bar { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 12px 14px; }
.skill-bar .label { display: flex; justify-content: space-between; color: var(--white); font-weight: 600; }
.skill-bar .bar { margin-top: 10px; width: 100%; height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; }
.skill-bar .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #ffef9e); }
.skill-desc { margin-top: 8px; font-size: 14px; color: var(--text); line-height: 1.45; }

.timeline-grid { border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius); overflow: hidden; }
.timeline-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 14px 16px; background: rgba(255, 255, 255, 0.02); }
.timeline-row:nth-child(odd) { background: rgba(255, 255, 255, 0.04); }
.timeline-row span { font-size: 15px; color: var(--text); }

.movement { background: linear-gradient(90deg, rgba(255, 214, 0, 0.08), transparent); border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: var(--shadow); }
.bullets { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 8px; color: var(--text); }
.bullets li::before { content: '— '; color: var(--accent); }
.movement-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: center; }
.movement-portrait { justify-self: center; }
.movement-portrait img { max-width: 100%; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.06); }

.cover { text-align: center; padding: 140px 5vw; }
.cover-text { font-size: clamp(34px, 6vw, 54px); font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
.cover-sign { margin-top: 22px; font-size: 16px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.video-card { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #0c0c0c; box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32); display: block; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,0.36); }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.video-title { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; background: rgba(0,0,0,0.65); border-radius: 10px; font-weight: 600; font-size: 13px; letter-spacing: 0.02em; color: #f5f5f5; text-shadow: 0 1px 2px rgba(0,0,0,0.45); }

.footer { padding: 60px 5vw 80px; background: #050505; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; align-items: start; }
.contact-right { position: relative; padding-left: 18px; display: grid; gap: 14px; }
.contact-right::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255, 214, 0, 0.2); }
.email-link { color: var(--white); font-weight: 600; text-underline-offset: 4px; border-bottom: 1px solid transparent; }
.email-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.social-stack { display: grid; gap: 10px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; color: rgba(218, 218, 218, 0.5); font-weight: 600; letter-spacing: 0.01em; }
.social-link .icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: #ffd600; transition: color 0.2s ease, transform 0.2s ease; }
.social-link .icon svg { width: 18px; height: 18px; stroke: #ffd600; fill: none; stroke-width: 1.8; }
.social-link:hover { color: var(--white); }
.social-link:hover .icon { color: #ffffff; transform: translateX(2px); }
.social-link:hover .icon svg { stroke: #ffffff; }
.footnote { margin-top: 18px; color: var(--muted); font-size: 13px; }

.will-animate { opacity: 0; transform: translateY(18px); transition: opacity 0.4s ease, transform 0.4s ease; }
.will-animate.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .timeline-row { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .timeline-row span:last-child { justify-self: end; }
}

@media (max-width: 768px) {
  section { padding: 70px 6vw; }
  .top-nav { position: sticky; }
  .gallery-masonry { column-count: 2; }
  .gallery-grid .gallery-item.wide { grid-column: span 1; }
  .hero-content::before { left: -16px; height: 60px; }
  .hero { padding-top: 80px; }
  .top-nav nav { gap: 12px; font-size: 13px; }
  .hero-video { max-width: 100%; }
  .movement-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .gallery-masonry { column-count: 1; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .timeline-row { grid-template-columns: 1fr; row-gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
