/* ============================================
   ALEX COICEA — PORTFOLIO
   Design system inspired by his Studio deck
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ---- TOKENS ---- */
/* ↓ CHANGE ACCENT COLOR HERE — updates the entire site instantly */
:root {
  --accent-h:    130;          /* hue — 130 = #50FF6C green, 260 = purple, 200 = blue… */
  --accent-s:    100%;
  --accent-l:    66%;
  --accent:      hsl(var(--accent-h), var(--accent-s), var(--accent-l));
  --accent-dim:  hsl(var(--accent-h), var(--accent-s), var(--accent-l), 0.12);
  --accent-mid:  hsl(var(--accent-h), var(--accent-s), var(--accent-l), 0.35);

  --bg:          #0C0C0D;
  --bg-2:        #111113;
  --bg-3:        #171719;
  --border:      #1E1E22;
  --white:       #FFFFFF;
  --gray-1:      #C8C8CC;
  --gray-2:      #80808A;
  --gray-3:      #3E3E46;
  --font-head:   'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --nav-h:       72px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gray-3); border-radius: 2px; }

/* ---- CURSOR ---- */
.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s;
}
body.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--accent);
}

/* ---- NAVIGATION ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(13,13,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-2);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white) !important;
  padding: 9px 22px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.2s, background 0.2s !important;
}
.nav-cta:hover {
  border-color: var(--accent) !important;
  background: var(--accent-dim) !important;
}
.nav-cta::after { display: none !important; }
.mobile-page-label {
  display: none;
}

/* ---- HERO SLIDESHOW ---- */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroFade 30s infinite;
  animation-timing-function: ease-in-out;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(8,8,9,0.94) 0%,
    rgba(8,8,9,0.55) 40%,
    rgba(8,8,9,0.25) 100%
  );
}
@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, var(--accent)18 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, var(--accent)10 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, transparent 0%, black 100%);
  opacity: 0.3;
}
.hero-eyebrow {
  position: relative;
  z-index: 4;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero-name {
  position: relative;
  z-index: 4;
  font-family: var(--font-head);
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease) 0.35s forwards;
}
.hero-name em {
  font-style: normal;
  color: var(--gray-3);
}
.hero-bottom {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 0.55s forwards;
}
.hero-desc {
  max-width: 400px;
  font-size: 16px;
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--accent);
  color: #0C0C0D;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: hsl(var(--accent-h), var(--accent-s), 55%);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(80, 255, 108, 0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid var(--border);
  color: var(--gray-1);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  border-color: var(--gray-2);
  color: var(--white);
  transform: translateY(-2px);
}
.hero-scroll {
  position: absolute;
  z-index: 4;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.2s forwards;
}
.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gray-3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.4; }
}

/* ---- SECTION COMMON ---- */
section { padding: 120px 48px; }
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray-2);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 64px;
}

/* ---- PROJECTS GRID ---- */
.projects-section { padding-top: 80px; }
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.project-card {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
  display: block;
}
.project-card:first-child,
.project-card--featured {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}
.project-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: brightness(0.75) saturate(0.9);
}
.project-thumb-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-3);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project-card:hover .project-thumb { transform: scale(1.04); filter: brightness(0.55) saturate(0.3); }
.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(to top, rgba(13,13,16,0.9) 0%, transparent 60%);
}
.project-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.project-name {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-2);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(13,13,16,0.6);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, color 0.2s;
}
.project-card:hover .tag { border-color: var(--accent-mid); color: var(--gray-1); }
.project-arrow {
  position: absolute;
  top: 32px; right: 32px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(8px, -8px);
  transition: opacity 0.3s, transform 0.3s var(--ease), border-color 0.2s;
}
.project-arrow svg { width: 16px; height: 16px; }
.project-card:hover .project-arrow {
  opacity: 1;
  transform: translate(0, 0);
  border-color: var(--accent);
}

/* ---- ABOUT PREVIEW (homepage) ---- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-title { margin-bottom: 24px; }
.about-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-text p strong { color: var(--white); font-weight: 500; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.stat {
  background: var(--bg);
  padding: 28px 24px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-2);
}
.about-visual {
  position: relative;
}
.about-photo-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-3);
}
.about-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  z-index: 1;
}
.about-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}
.about-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 2;
}
.about-badge-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 4px;
}
.about-badge-value {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
}
.companies-strip {
  margin-top: 60px;
}
.companies-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 24px;
}
.companies-list {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.company-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-3);
  transition: color 0.2s;
}
.company-name:hover { color: var(--gray-1); }
.company-logo {
  height: 24px;
  width: auto;
  opacity: 0.45;
  transition: opacity 0.2s;
  display: block;
}
.company-logo:hover { opacity: 0.85; }

/* ---- FOOTER ---- */
footer {
  padding: 60px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-left {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-2);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-right {
  font-size: 12px;
  color: var(--gray-3);
}

/* ---- ABOUT PAGE ---- */
.page-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 60px) 48px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 80% 50%, var(--accent)15 0%, transparent 70%);
}
.page-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.page-title {
  font-family: var(--font-head);
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

/* About content */
.about-content {
  padding: 80px 48px 120px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.about-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.sidebar-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-3);
  margin-bottom: 32px;
  position: relative;
}
.sidebar-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}
.sidebar-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}
.sidebar-info { margin-bottom: 32px; }
.sidebar-name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.sidebar-role {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.sidebar-location {
  font-size: 13px;
  color: var(--gray-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-2);
  transition: color 0.2s;
}
.contact-item:hover { color: var(--white); }
.contact-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 14px; height: 14px; fill: var(--gray-2); }
.contact-item:hover .contact-icon { border-color: var(--accent-mid); }

/* About main content */
.about-main {}
.about-bio {
  margin-bottom: 72px;
}
.about-bio p {
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-1);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-bio p strong { color: var(--white); font-weight: 500; }

/* Experience */
.exp-section { margin-bottom: 72px; }
.exp-section-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.exp-section-title::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.exp-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.exp-item:last-child { border-bottom: 1px solid var(--border); }
.exp-period {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--gray-3);
  padding-top: 3px;
  white-space: nowrap;
}
.exp-company {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.exp-role {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.exp-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-2);
  line-height: 1.7;
}
.exp-desc li { margin-bottom: 4px; padding-left: 12px; position: relative; list-style: none; }
.exp-desc li::before { content: '—'; position: absolute; left: 0; color: var(--gray-3); }

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.skill-item {
  padding: 14px 18px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-1);
  letter-spacing: 0.03em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.skill-item:hover {
  border-color: var(--accent-mid);
  color: var(--white);
  background: var(--accent-dim);
}

/* Awards */
.awards-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.award-item {
  background: var(--bg);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.award-year {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  min-width: 48px;
  padding-top: 2px;
}
.award-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-1);
}

/* ---- PROJECT PAGE ---- */
.project-hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.project-hero-img {
  position: absolute;
  inset: 0;
}
.project-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.project-hero-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0D0D1A 0%, #1A1130 100%);
}
.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,16,0.95) 0%, rgba(13,13,16,0.3) 50%, transparent 100%);
}
.project-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 80px;
  width: 100%;
}
.project-hero-meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.project-hero-title {
  font-family: var(--font-head);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 28px;
}
.project-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* Project body */
.project-body { padding: 80px 48px 120px; }
.project-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 72px;
}
.info-cell {
  background: var(--bg);
  padding: 24px 28px;
}
.info-cell-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 6px;
}
.info-cell-value {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.project-desc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
}
.project-desc-text {
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-1);
  line-height: 1.8;
}
.project-desc-text strong { color: var(--white); font-weight: 500; }
.project-desc-details { display: flex; flex-direction: column; gap: 24px; }
.detail-group-title {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.detail-group-body {
  font-size: 14px;
  color: var(--gray-2);
  line-height: 1.7;
}

/* Project images */
.project-images { display: flex; flex-direction: column; gap: 2px; }
.project-image-full {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-3);
}
.project-image-full img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-image-full:hover img { transform: scale(1.02); }
.project-image-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.project-image-half > div {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-3);
}
.project-image-half > div img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.project-image-half--natural > div {
  aspect-ratio: unset;
  overflow: visible;
  background: none;
}
.project-image-half--natural > div img {
  width: 100%;
  height: auto;
  object-fit: unset;
}
.project-image-natural {
  width: 100%;
}
.project-image-natural img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.image-caption {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray-3);
  padding: 12px 0;
  text-align: center;
  margin-bottom: 16px;
}

/* Project nav */
.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-top: 1px solid var(--border);
}
.project-nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px 48px;
  background: var(--bg);
  transition: background 0.2s;
}
.project-nav-item:hover { background: var(--bg-2); }
.project-nav-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-3);
}
.project-nav-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.project-nav-item.next {
  text-align: right;
  align-items: flex-end;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  section { padding: 80px 32px; }
  .hero { padding: 0 32px 64px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-column: 1; aspect-ratio: 16/10; }
  .about-preview { grid-template-columns: 1fr; gap: 48px; }
  .about-content { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
  .project-info-row { grid-template-columns: 1fr 1fr; }
  .project-desc { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; gap: 20px; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 60px 20px; }
  .hero { padding: 0 20px 48px; }
  .hero-slides, .hero-slide-overlay { height: 70vh; }
  .hero-scroll { display: none; }
  .hero-name { font-size: clamp(48px, 14vw, 72px); }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .projects-header p { text-align: left !important; max-width: 100%; }
  .project-overlay { padding: 12px; }
  .project-num { position: absolute; top: 12px; left: 12px; }
  .project-body { padding: 48px 20px 80px; }
  .project-hero-content { padding: 0 20px 48px; }
  .project-info-row { grid-template-columns: 1fr; }
  .project-nav { grid-template-columns: 1fr; }
  .page-hero { display: none; }
  .mobile-page-label {
    display: block;
    margin-left: auto;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .about-content { padding: 48px 20px 80px; }
  .exp-item { grid-template-columns: 1fr; gap: 4px; }
  .exp-period { padding-top: 0; }
  footer { padding: 40px 20px; }
  .companies-list { gap: 20px; flex-wrap: wrap; }
  .company-logo { height: 18px; }
}
