/* ================================
   PORTFOLIO — GLOBAL STYLES
   ================================ */

:root {
  --bg: #0b0b0d;
  --surface: #131316;
  --surface-2: #1a1a1f;
  --text: #f5f4ef;
  --muted: #94949c;
  --line: rgba(255,255,255,.1);
  --accent: #c8ff38;
  --accent-dark: #8dbb16;
  --max: 1180px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  display: block;
}

.portfolio-container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.portfolio-section {
  padding: 110px 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  margin: 14px 0 0;
  max-width: 750px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}

.muted {
  color: var(--muted);
}


/* ================================
   NAVIGATION
   ================================ */

.portfolio-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(11,11,13,.82);
  backdrop-filter: blur(18px);
}

.portfolio-nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.portfolio-logo span {
  color: var(--accent);
}

.portfolio-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.portfolio-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color .2s ease;
}

.portfolio-links a:hover {
  color: var(--text);
}

.nav-button {
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg) !important;
  font-weight: 700;
}


/* ================================
   HERO
   ================================ */

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  right: -250px;
  top: -180px;
  background: var(--accent);
  opacity: .07;
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 1000px;
  margin: 18px 0 25px;
  font-size: clamp(60px, 10vw, 140px);
  line-height: .82;
  letter-spacing: -.075em;
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-description {
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.button-secondary {
  color: var(--text);
}


/* ================================
   MARQUEE
   ================================ */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 30px;
  animation: marquee 25s linear infinite;
}

.marquee-item {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.marquee-dot {
  color: var(--accent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* ================================
   ABOUT
   ================================ */

.about-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 80px;
}

.about-copy {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.about-copy strong {
  color: var(--text);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  padding: 30px;
  background: var(--bg);
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.stat-label {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}


/* ================================
   PROJECTS
   ================================ */

.projects {
  background: #101012;
}

.project-list {
  margin-top: 65px;
  display: grid;
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .35s ease, border-color .35s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200,255,56,.35);
}

.project-number {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.project-info {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.project-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .9;
  letter-spacing: -.06em;
}

.project-description {
  max-width: 480px;
  margin: 20px 0 0;
  color: var(--muted);
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.project-tag {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}

.project-visual {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 55%;
  height: 75%;
  border-radius: 25px;
  transform: rotate(-5deg);
  background:
    radial-gradient(circle at 30% 30%, var(--accent), transparent 20%),
    linear-gradient(135deg, #29292f, #101013);
  opacity: .8;
  transition: transform .5s ease;
}

.project-card:hover .project-visual {
  transform: rotate(-2deg) scale(1.04);
}


/* ================================
   SERVICES
   ================================ */

.services-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  padding: 35px;
  background: var(--bg);
  min-height: 270px;
}

.service-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.service h3 {
  margin: 65px 0 10px;
  font-size: 24px;
  letter-spacing: -.03em;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}


/* ================================
   CONTACT
   ================================ */

.contact {
  text-align: center;
  padding: 160px 0;
}

.contact h2 {
  max-width: 900px;
  margin: 15px auto 25px;
  font-size: clamp(55px, 9vw, 120px);
  line-height: .85;
  letter-spacing: -.07em;
}

.contact p {
  max-width: 500px;
  margin: 0 auto;
  color: var(--muted);
}

.contact-button {
  margin-top: 35px;
}


/* ================================
   FOOTER
   ================================ */

.portfolio-footer {
  border-top: 1px solid var(--line);
  padding: 25px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

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


/* ================================
   MOBILE
   ================================ */

@media (max-width: 760px) {

  .portfolio-container {
    width: min(calc(100% - 28px), var(--max));
  }

  .portfolio-links a:not(.nav-button) {
    display: none;
  }

  .portfolio-section {
    padding: 75px 0;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 100px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .project-card {
    min-height: 430px;
    padding: 25px;
  }

  .project-visual {
    width: 90%;
    height: 55%;
    right: -80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 110px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}