/* ============ RESET Y VARIABLES ============ */
:root {
  --black: #000000;
  --black-soft: #0a0a0a;
  --black-card: #141414;
  --white: #ffffff;
  --bone: #f5f3ee;
  --bone-soft: #ebe8e0;
  --lime: #b9fb55;
  --lime-bright: #c8ff66;
  --lime-soft: #d4ff80;
  --gray-line: rgba(255, 255, 255, 0.08);
  --gray-line-dark: rgba(10, 10, 10, 0.1);
  --text-muted: #8a8a8a;
  --text-muted-light: #6b6b6b;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --container: 1400px;
  --section-pad: 7rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ============ NAVEGACIÓN ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000000;
  border-bottom: 1px solid var(--gray-line);
  transition: all 0.4s ease;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--lime);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--lime);
  letter-spacing: 0.1em;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  padding: 8rem 2.5rem 4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-line) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
  opacity: 0.6;
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeIn 0.8s ease 0.2s forwards;
}

.meta-line {
  border-left: 2px solid var(--lime);
  padding-left: 0.75rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--lime);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: slideUp 1s ease 0.4s forwards;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
}

.hero-title .word {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 0.5s; }
.hero-title .word:nth-child(2) { animation-delay: 0.7s; }
.hero-title .word:nth-child(3) { animation-delay: 0.9s; }

.hero-title em {
  font-style: italic;
  color: var(--lime);
  font-weight: 500;
}

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

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

.hero-desc {
  max-width: 460px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.hero-bottom-right {
  display: flex;
  justify-content: flex-end;
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lime);
}

.scroll-cue svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.hero-corner-tl,
.hero-corner-br {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--lime);
  z-index: 2;
}

.hero-corner-tl {
  top: 6.5rem;
  right: 2.5rem;
  border-right: none;
  border-bottom: none;
}

.hero-corner-br {
  bottom: 2.5rem;
  left: 2.5rem;
  border-left: none;
  border-top: none;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============ TICKER ============ */
.ticker {
  background: var(--lime);
  color: var(--black);
  padding: 1.25rem 0;
  overflow: hidden;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ticker-dot {
  color: var(--black);
  font-size: 0.6rem;
  align-self: center;
}

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

/* ============ PROYECTO 01 ============ */
.project {
  padding: var(--section-pad) 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.project-header {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--gray-line-dark);
  margin-bottom: 5rem;
}

.project-num {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 6rem;
}

.num-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted-light);
  text-transform: uppercase;
}

.num-big {
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 0.9;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.04em;
}

.project-client {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted-light);
  margin-bottom: 1.25rem;
}

.project-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.project-title em {
  font-style: italic;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.project-title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.4em;
  background: var(--lime);
  z-index: -1;
  opacity: 0.6;
}

.project-modules {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.module-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--black);
  color: var(--white);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.module-tag span {
  color: var(--lime);
  font-weight: 700;
}

/* Summary */
.project-summary {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.summary-text .lead {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.hl {
  position: relative;
  display: inline;
  background: linear-gradient(transparent 60%, var(--lime) 60%);
  padding: 0 0.2em;
}

.summary-text p {
  font-size: 1rem;
  color: var(--text-muted-light);
  line-height: 1.75;
}

.summary-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  padding: 1.75rem;
  background: var(--black);
  color: var(--white);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--lime);
}

.stat:hover {
  transform: translateX(4px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Screenshots */
.project-shot {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.project-shot.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.project-shot.reverse .shot-side {
  order: 2;
}

.shot-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.shot-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--black);
}

.shot-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.shot-title em {
  font-style: italic;
  color: var(--black);
  background: var(--lime);
  padding: 0 0.3rem;
  font-weight: 500;
}

.shot-desc {
  font-size: 1rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.shot-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.shot-points li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--black);
}

.bullet {
  color: var(--lime);
  font-weight: 700;
  background: var(--black);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.shot-image {
  position: relative;
}

.shot-frame {
  background: var(--black);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.shot-frame:hover {
  transform: translateY(-6px);
}

.shot-frame-bar {
  background: #1a1a1a;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.shot-frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}

.shot-frame-bar span:nth-child(1) { background: #ff5f56; }
.shot-frame-bar span:nth-child(2) { background: #ffbd2e; }
.shot-frame-bar span:nth-child(3) { background: #27c93f; }

.shot-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #2a2a2a;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.shot-frame img {
  width: 100%;
  display: block;
}

.shot-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--lime);
  color: var(--black);
  padding: 0.4rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 100px;
  border: 2px solid var(--black);
  z-index: 2;
}

/* Módulos */
.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.modules-grid {
  margin-bottom: 6rem;
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.module-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--gray-line-dark);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.module-card:hover {
  transform: translateY(-8px);
  border-color: var(--black);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

.module-card:hover::before {
  transform: scaleX(1);
}

.module-icon {
  width: 56px;
  height: 56px;
  background: var(--black);
  color: var(--lime);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.module-card:hover .module-icon {
  transform: rotate(-8deg) scale(1.05);
}

.module-number {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--bone-soft);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.4s ease;
}

.module-card:hover .module-number {
  color: var(--lime);
}

.module-card h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.module-card p {
  font-size: 0.95rem;
  color: var(--text-muted-light);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.module-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.module-tech span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--bone-soft);
  color: var(--text-muted-light);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* Tech Stack */
.tech-block {
  background: var(--black);
  color: var(--white);
  border-radius: 24px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.tech-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--lime) 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
}

.tech-header {
  margin-bottom: 3rem;
}

.tech-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tech-block .section-heading {
  color: var(--white);
  margin-bottom: 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 2rem;
}

.tech-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-line);
}

.tech-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tech-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
}

/* ============ PRÓXIMOS PROYECTOS ============ */
.upcoming {
  background: var(--black);
  color: var(--white);
  padding: var(--section-pad) 2.5rem;
  position: relative;
  overflow: hidden;
}

.upcoming-header {
  max-width: var(--container);
  margin: 0 auto 5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.upcoming-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.upcoming-title em {
  font-style: italic;
  color: var(--lime);
  font-weight: 500;
}

.upcoming-desc {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.upcoming-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.upcoming-card {
  background: var(--black-card);
  border: 1px solid var(--gray-line);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s ease;
  cursor: pointer;
}

.upcoming-card:hover {
  border-color: var(--lime);
  transform: translateY(-6px);
}

.upcoming-card:hover .upcoming-arrow {
  transform: translate(4px, -4px);
  color: var(--lime);
}

.upcoming-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 2rem;
  transition: color 0.4s ease;
}

.upcoming-card:hover .upcoming-num {
  color: var(--lime);
}

.upcoming-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--lime);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.upcoming-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.upcoming-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.upcoming-arrow {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: all 0.4s ease;
}

/* ============ CIERRE / CONTACTO ============ */
.closing {
  background: var(--black);
  color: var(--white);
  padding: var(--section-pad) 2.5rem 3rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-line);
}

.closing-grid {
  max-width: var(--container);
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 6rem;
  position: relative;
  z-index: 2;
}

.closing-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.closing-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.closing-title em {
  font-style: italic;
  color: var(--lime);
  font-weight: 500;
}

.closing-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.closing-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-line);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
}

.closing-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.footer-logo img {
  height: 32px;
}

.footer-meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.closing-mega {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 18rem);
  color: var(--lime);
  letter-spacing: -0.05em;
  line-height: 0.9;
  opacity: 0.07;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}

/* ============ REVEAL ON SCROLL ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav-links { gap: 1.5rem; }
  .project-header { grid-template-columns: 1fr; }
  .num-big { font-size: 5rem; }
  .project-summary,
  .project-shot,
  .project-shot.reverse,
  .modules,
  .tech-grid,
  .upcoming-grid,
  .closing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .project-shot.reverse .shot-side { order: 0; }
}

@media (max-width: 640px) {
  :root { --section-pad: 4rem; }
  .nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .hero { padding: 6rem 1.25rem 3rem; }
  .hero-meta { flex-direction: column; gap: 0.5rem; }
  .hero-bottom { grid-template-columns: 1fr; }
  .project { padding: var(--section-pad) 1.25rem; }
  .tech-block { padding: 2.5rem 1.5rem; }
  .upcoming { padding: var(--section-pad) 1.25rem; }
  .closing { padding: var(--section-pad) 1.25rem 2rem; }
  .closing-footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-meta { flex-wrap: wrap; justify-content: center; }
}
