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

/* ── TOKENS ── */
:root {
  --black: #080808;
  --white: #F5F4F0;
  --accent: #C8FF00;
  --fg: 245,244,240;   /* rgb channels of --white, for rgba() */
  --bg: 8,8,8;         /* rgb channels of --black, for rgba() */
}

html, body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

/* ── LIGHT MODE ── */
body.light {
  --black: #FFFFFF;
  --white: #0A0A0A;
  --accent: #0040E5;
  --fg: 10,10,10;
  --bg: 255,255,255;
}
body.light .svc-card { background: var(--accent); box-shadow: 0 8px 32px rgba(0,64,229,0.2); border: none; }
body.light .svc-card:hover { box-shadow: 0 20px 56px rgba(0,64,229,0.35); }
body.light .svc-name { color: #FFFFFF; }
body.light .svc-desc { color: rgba(255,255,255,0.75); }
body.light .nav-cta { color: #FFFFFF; background: #1B2C3D; }
body.light .nav-cta:hover { background: var(--accent); }

/* Light mode: 3 tonos de azul */
body.light .proj-card:nth-child(1) { background: #0040E5; border-color: transparent; }
body.light .proj-card:nth-child(2) { background: #1F5AFF; border-color: transparent; }
body.light .proj-card:nth-child(3) { background: #4878FF; border-color: transparent; }
body.light .proj-card--active { border-color: transparent; }
body.light .proj-card:not(.proj-card--active):hover { filter: brightness(1.1); }
body.light .proj-num { color: rgba(255,255,255,0.4); }
body.light .proj-title-vert { color: #FFFFFF; }
body.light .proj-category { color: rgba(255,255,255,0.6); }
body.light .proj-title { color: #FFFFFF; }
body.light .proj-copy { color: rgba(255,255,255,0.7); }
body.light .proj-tag { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }
body.light .proj-cta-ghost { color: #FFFFFF; border-color: rgba(255,255,255,0.3); }
body.light .mockup-phone,
body.light .mockup-nb-screen { background: rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.1); }
body.light .mockup-nb-base { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.08); }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 48px;
}
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 11px; font-weight: 400;
  color: rgba(var(--fg),0.5);
  text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-logo {
  font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.15em;
  color: var(--white); text-decoration: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-cta {
  font-size: 11px; font-weight: 500; color: var(--black); background: var(--white);
  border: none; padding: 9px 20px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--accent); }

/* THEME TOGGLE */
.theme-toggle {
  background: none; border: none; cursor: pointer; padding: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); opacity: 0.55; transition: opacity 0.3s;
}
.theme-toggle:hover { opacity: 1; }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none; }
.icon-moon { display: block; }
body.light .icon-sun { display: block; }
body.light .icon-moon { display: none; }

/* HAMBURGER */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 201;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); transition: all 0.3s ease; border-radius: 2px; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE MENU */
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--black);
  z-index: 190; flex-direction: column; align-items: center; justify-content: center;
  transition: background 0.35s ease;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 24px; }
.mobile-menu ul a {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 12vw, 56px);
  color: var(--white); text-decoration: none; letter-spacing: 0.08em;
  transition: color 0.3s; display: block;
}
.mobile-menu ul a:hover { color: var(--accent); }
.mobile-menu .nav-cta { margin-top: 20px; font-size: 13px; padding: 12px 32px; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 48px; padding-top: 80px; overflow: hidden;
}
.glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-title { position: relative; z-index: 2; text-align: center; }

.title-line-1 {
  display: block; font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(68px,14vw,185px); letter-spacing: 0.04em; line-height: 0.82;
  color: var(--white); transform: translateX(-20vw); opacity: 0;
  animation: fadeUpLeft 1s cubic-bezier(0.16,1,0.3,1) forwards; animation-delay: 0.4s;
  -webkit-text-stroke: 1px currentColor;
}
.title-line-2 {
  display: block; font-size: clamp(68px,14vw,185px); letter-spacing: 0.04em; line-height: 0.82;
  color: var(--white); transform: translateX(6vw); margin-top: -0.16em; opacity: 0;
  animation: fadeUpRight 1s cubic-bezier(0.16,1,0.3,1) forwards; animation-delay: 0.55s;
  -webkit-text-stroke: 1px currentColor;
}
.title-line-2 .sans { font-family: 'Bebas Neue', sans-serif; margin-right: 0.18em; }
.title-line-2 .serif { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; letter-spacing: 0.04em; }
.title-line-3 {
  display: block; font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(70px,14.3vw,187px); letter-spacing: 0.04em; line-height: 0.82;
  color: var(--accent); opacity: 0;
  animation: fadeUpFija 1s cubic-bezier(0.16,1,0.3,1) forwards; animation-delay: 0.7s;
  -webkit-text-stroke: 5px currentColor;
}
@keyframes fadeUpFija {
  from { opacity: 0; transform: translateX(6vw) translateY(24px); }
  to   { opacity: 1; transform: translateX(6vw) translateY(0); }
}

.hero-cta-wrap {
  margin-top: 60px; display: flex; align-items: center; justify-content: center; gap: 28px;
  position: relative; z-index: 2; opacity: 0;
  animation: fadeUp 0.8s ease forwards; animation-delay: 1.1s;
}
.hero-cta {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--black); background: var(--white); border: none; padding: 12px 28px;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  position: relative; overflow: hidden; transition: all 0.3s;
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0; background: var(--accent);
  transform: translateX(-101%); transition: transform 0.35s cubic-bezier(0.76,0,0.24,1);
}
.hero-cta:hover::before { transform: translateX(0); }
.hero-cta span { position: relative; z-index: 1; }
.hero-secondary {
  font-size: 11px; color: rgba(var(--fg),0.35); letter-spacing: 0.08em;
  text-decoration: none; text-transform: uppercase; transition: color 0.3s;
}
.hero-secondary:hover { color: rgba(var(--fg),0.7); }

.hero-sub {
  position: absolute; left: 70%; bottom: 18%; max-width: 320px; z-index: 2;
  opacity: 0; animation: fadeUp 0.9s ease forwards; animation-delay: 1s;
}
.hero-sub .sub-label {
  font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: 0.15em;
  color: rgba(var(--fg),0.2); display: block; margin-bottom: 10px;
}
.hero-sub p { font-size: 15px; font-weight: 300; color: rgba(var(--fg),0.5); line-height: 1.7; }
.hero-sub .sub-closing { font-family: 'Playfair Display', serif; font-style: italic; color: rgba(var(--fg),0.8); }

.scroll-ring {
  position: absolute; bottom: 120px; right: 48px; width: 58px; height: 58px; z-index: 2;
  opacity: 0; animation: fadeIn 1s ease forwards; animation-delay: 1.6s;
}
.scroll-ring svg { width: 100%; height: 100%; animation: rotate 14s linear infinite; }
.scroll-ring-arrow {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: rgba(var(--fg),0.15);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--black); overflow: hidden;
  border-top: 1px solid rgba(var(--fg),0.06);
  border-bottom: 1px solid rgba(var(--fg),0.06);
  padding: 14px 0; transition: background 0.35s ease;
}
.ticker-inner { display: flex; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 24px; padding-right: 48px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(var(--fg),0.25);
}
.ticker-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); opacity: 0.6; flex-shrink: 0; }

/* ── STATEMENT ── */
.statement {
  position: relative; z-index: 1; min-height: auto; background: var(--black);
  display: flex; align-items: center; padding: 120px 48px 120px 60px; overflow: visible;
  transition: background 0.35s ease;
}
.statement-brand {
  position: absolute; top: 50%; right: 48px; transform: translateY(-50%) rotate(180deg);
  font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: 0.3em;
  color: rgba(var(--fg),0.12); writing-mode: vertical-rl; text-transform: uppercase; z-index: 2;
}
.statement-text { position: relative; z-index: 2; max-width: 88vw; }
.reveal-text { display: flex; flex-direction: column; margin-bottom: 40px; }
.reveal-line {
  display: block; font-size: clamp(24px,4.2vw,62px); font-weight: 800;
  color: var(--white); line-height: 1.15; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease, color 0.35s ease;
}
.reveal-line.revealed { opacity: 1; transform: translateY(0); }
.underline-text {
  text-decoration: underline; text-underline-offset: 6px;
  text-decoration-thickness: 2px; text-decoration-color: var(--accent);
}
.reveal-now {
  font-family: 'Bebas Neue', sans-serif; font-size: 28vw; letter-spacing: 0.06em; line-height: 0.8;
  color: rgba(var(--fg),0.13); position: absolute; bottom: -0.38em; left: 28%;
  z-index: 0; pointer-events: none; white-space: nowrap; user-select: none;
  opacity: 0; transform: translateY(20px); transition: opacity 1.2s ease, transform 1.2s ease;
}
.reveal-now.revealed { opacity: 1; transform: translateY(0); }

/* ── SERVICES ── */
.services-section {
  background: var(--black); padding: 120px 48px;
  position: relative; min-height: 100vh;
  transition: background 0.35s ease;
}
.services-header {
  display: flex; align-items: baseline; gap: 24px; margin-bottom: 80px;
  padding-bottom: 24px; border-bottom: 1px solid rgba(var(--fg),0.08); flex-wrap: wrap;
}
.services-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(var(--fg),0.3); }
.services-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px,7vw,96px); letter-spacing: -0.01em; line-height: 1; color: var(--white); }

/* Bento grid */
.services-bento { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: repeat(6, 80px); gap: 16px; }
.svc-pair { display: contents; }
.carousel-dots { display: none; }

.svc-card {
  background: var(--white); border-radius: 20px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 24px; opacity: 0;
  transition: opacity 0.6s ease, box-shadow 0.3s ease, background 0.35s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3); text-align: center;
}
.svc-card.revealed { opacity: 1; }
.svc-card:hover { box-shadow: 0 20px 56px rgba(0,0,0,0.5); z-index: 10; }
.svc-name { font-family: 'Bebas Neue', sans-serif; color: var(--black); line-height: 0.92; letter-spacing: -0.01em; transition: color 0.35s ease; }
.svc-desc { font-weight: 400; color: rgba(0,0,0,0.5); line-height: 1.5; margin-top: 12px; }

.svc-grande .svc-name { font-size: clamp(36px, 4.5vw, 68px); }
.svc-grande .svc-desc { font-size: 15px; }
.svc-mediana .svc-name { font-size: clamp(22px, 2.8vw, 42px); }
.svc-mediana .svc-desc { font-size: 13px; }
.svc-pequena { padding: 16px 20px; }
.svc-pequena .svc-name { font-size: clamp(16px, 2vw, 28px); }

/* Float animations */
.anim-1 { animation: float1 5.5s ease-in-out infinite; }
.anim-2 { animation: float2 6.5s ease-in-out infinite; animation-delay: 0.4s; }
.anim-3 { animation: float3 5s ease-in-out infinite; animation-delay: 0.7s; }
.anim-4 { animation: float4 6s ease-in-out infinite; animation-delay: 0.2s; }

@keyframes float1 { 0%,100% { transform: rotate(-1deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-10px); } }
@keyframes float2 { 0%,100% { transform: rotate(0.8deg) translateY(0); } 50% { transform: rotate(0.8deg) translateY(-12px); } }
@keyframes float3 { 0%,100% { transform: rotate(-0.7deg) translateY(0); } 50% { transform: rotate(-0.7deg) translateY(-8px); } }
@keyframes float4 { 0%,100% { transform: rotate(1deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-10px); } }

/* General animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUpLeft { from { opacity: 0; transform: translateX(-20vw) translateY(24px); } to { opacity: 1; transform: translateX(-20vw) translateY(0); } }
@keyframes fadeUpRight { from { opacity: 0; transform: translateX(6vw) translateY(24px); } to { opacity: 1; transform: translateX(6vw) translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {
  nav { padding: 24px 32px; }
  .hero { padding: 0 32px; padding-top: 80px; }
  .hero-sub { right: 20px; max-width: 180px; }
  .scroll-ring { right: 32px; }
  .statement { padding: 0 32px; }
  .statement-text { max-width: 70vw; }
  .services-section { padding: 100px 32px; }
  .services-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; }
  .svc-card { grid-column: auto !important; grid-row: auto !important; min-height: 200px; }
  .svc-grande { min-height: 300px; }
}

/* Mobile */
@media (max-width: 768px) {
  nav { padding: 20px 20px; }
  .nav-links { display: none; }
  .nav-logo { position: static; transform: none; font-size: 18px; }
  .nav-burger { display: flex; }

  .hero { padding: 0 20px; padding-top: 90px; min-height: 100svh; }
  .hero-sub { display: none; }
  .scroll-ring { display: none; }
  .hero-cta-wrap { flex-direction: column; gap: 14px; margin-top: 40px; }

  .title-line-1 { transform: translateX(-4vw); animation: fadeUpLeftSm 1s cubic-bezier(0.16,1,0.3,1) forwards; animation-delay: 0.4s; }
  .title-line-2 { transform: translateX(2vw); animation: fadeUpRightSm 1s cubic-bezier(0.16,1,0.3,1) forwards; animation-delay: 0.55s; }
  @keyframes fadeUpLeftSm { from { opacity: 0; transform: translateX(-4vw) translateY(20px); } to { opacity: 1; transform: translateX(-4vw) translateY(0); } }
  @keyframes fadeUpRightSm { from { opacity: 0; transform: translateX(2vw) translateY(20px); } to { opacity: 1; transform: translateX(2vw) translateY(0); } }

  .statement { padding: 80px 20px; min-height: auto; align-items: flex-start; }
  .statement-brand { display: none; }
  .statement-text { max-width: 100%; }
  .reveal-now { font-size: 38vw; left: 0; }

  /* Services — carrusel horizontal */
  .services-section { padding: 80px 0 80px 20px; min-height: auto; }
  .services-header { padding-right: 20px; gap: 12px; margin-bottom: 48px; }
  .services-bento {
    display: flex !important; grid-template-columns: unset !important; grid-template-rows: unset !important;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 12px; padding-right: 20px; padding-bottom: 4px; align-items: stretch;
  }
  .services-bento::-webkit-scrollbar { display: none; }
  .svc-card { flex: 0 0 78vw !important; grid-column: unset !important; grid-row: unset !important; scroll-snap-align: start; min-height: 260px !important; }
  .svc-pair { flex: 0 0 78vw; display: flex !important; flex-direction: column; gap: 12px; scroll-snap-align: start; }
  .svc-pair .svc-card { flex: 1; min-height: unset !important; scroll-snap-align: none; width: 100%; }

  /* Dots */
  .carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 20px 0 0; }
  .carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(var(--fg),0.2); border: none; cursor: pointer; padding: 0; transition: background 0.3s, transform 0.3s; }
  .carousel-dot.active { background: var(--accent); transform: scale(1.3); }
}

@media (max-width: 400px) {
  .hero-cta { font-size: 10px; padding: 11px 20px; width: 100%; text-align: center; }
  .hero-secondary { font-size: 10px; }
}

/* ── PROJECTS ── */
.projects-section {
  background: var(--black); padding: 120px 48px;
  position: relative;
  transition: background 0.35s ease;
}

.projects-accordion {
  display: flex;
  gap: 12px;
  min-height: 480px;
  align-items: stretch;
}

.proj-card {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 120px;
  border-radius: 20px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: flex-grow 0.5s ease, background 0.35s ease, border-color 0.35s ease;
  opacity: 0;
  transform: translateY(20px);
}
.proj-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: flex-grow 0.5s ease, background 0.35s ease, border-color 0.35s ease,
              opacity 0.6s ease, transform 0.6s ease;
}
/* Dark mode: 3 tonos de gris */
.proj-card:nth-child(1) { background: #1e1e1e; }
.proj-card:nth-child(2) { background: #151515; }
.proj-card:nth-child(3) { background: #0f0f0f; }

.proj-card--active {
  flex-grow: 4;
  cursor: default;
  border-color: rgba(255,255,255,0.1);
}
.proj-card:not(.proj-card--active):hover {
  border-color: rgba(255,255,255,0.12);
  filter: brightness(1.2);
}

/* ── Compressed view (visible when inactive) ── */
.proj-compressed-view {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 28px 0 32px;
  opacity: 1;
  transition: opacity 0.2s ease;
  pointer-events: auto;
}
.proj-card--active .proj-compressed-view {
  opacity: 0;
  pointer-events: none;
}
.proj-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 0.15em;
  color: rgba(var(--fg), 0.25);
}
.proj-title-vert {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.05em; line-height: 1;
  color: var(--white);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ── Expanded view (visible when active) ── */
.proj-expanded-view {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 40px;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease 0.3s;
  overflow: hidden;
}
.proj-card--active .proj-expanded-view {
  opacity: 1;
  pointer-events: auto;
}

.proj-category {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
}
.proj-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -0.01em; line-height: 0.9;
  color: var(--white);
}
.proj-copy {
  font-size: 14px; font-weight: 300;
  color: rgba(var(--fg), 0.55);
  line-height: 1.7;
  max-width: 480px;
}
.proj-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.proj-tag {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(var(--fg), 0.45);
  border: 1px solid rgba(var(--fg), 0.12);
  padding: 5px 14px; border-radius: 100px;
}

/* Mockup area */
.proj-mockup-area {
  flex: 1;
  display: flex; align-items: flex-end; gap: 20px;
  padding-top: 16px;
}
.mockup-phone {
  width: 88px; height: 160px; flex-shrink: 0;
  background: linear-gradient(145deg, #1d1d1d, #0a0a0a);
  border-radius: 18px;
  border: 1.5px solid rgba(255,255,255,0.07);
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 5px;
}
.mockup-phone-notch {
  width: 28px; height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px; align-self: center;
}
.mockup-phone-screen {
  flex: 1;
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  border-radius: 8px;
  display: flex; flex-direction: column; gap: 5px; padding: 8px 6px;
}
.mockup-line {
  height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px;
}
.mockup-line.w60 { width: 60%; }
.mockup-line.w40 { width: 40%; }
.mockup-line.w80 { width: 80%; }

.mockup-notebook {
  display: flex; flex-direction: column; gap: 3px; flex-shrink: 0;
}
.mockup-nb-screen {
  width: 220px; height: 138px;
  background: linear-gradient(145deg, #1d1d1d, #0a0a0a);
  border-radius: 8px 8px 0 0;
  border: 1.5px solid rgba(255,255,255,0.07);
  border-bottom: none;
  padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.mockup-nb-row { display: flex; gap: 6px; align-items: center; }
.mockup-nb-col { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mockup-nb-block {
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.mockup-nb-base {
  width: 238px; height: 10px;
  background: #161616;
  border-radius: 0 0 4px 4px;
  border: 1.5px solid rgba(255,255,255,0.05);
  border-top: none;
}

/* Ghost CTA */
.proj-cta-ghost {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: none;
  border: 1px solid rgba(var(--fg), 0.2);
  padding: 10px 24px; font-family: 'DM Sans', sans-serif;
  opacity: 0.4; cursor: not-allowed;
  align-self: flex-start; margin-top: auto;
}

/* ── RESPONSIVE PROJECTS ── */
@media (max-width: 1024px) {
  .projects-section { padding: 100px 32px; }
}

@media (max-width: 768px) {
  .projects-section { padding: 80px 20px; }

  .projects-accordion {
    flex-direction: column;
    min-height: unset;
    gap: 8px;
  }
  .proj-card {
    flex-basis: 64px;
    flex-grow: 0;
    border-radius: 16px;
    transition: flex-basis 0.5s ease, background 0.35s ease;
  }
  .proj-card--active {
    flex-basis: auto;
    flex-grow: 0;
  }
  .proj-compressed-view {
    flex-direction: row;
    padding: 0 20px;
    gap: 16px;
    justify-content: flex-start;
    align-items: center;
  }
  .proj-title-vert {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 22px;
  }
  .proj-expanded-view {
    position: relative;
    inset: unset;
    padding: 24px 20px;
    opacity: 0;
    pointer-events: none;
    display: none;
  }
  .proj-card--active .proj-expanded-view {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.35s ease 0.2s;
  }
  .proj-card--active .proj-compressed-view {
    display: none;
  }
  .mockup-notebook { display: none; }
  .mockup-phone { width: 72px; height: 130px; }
  .proj-mockup-area { flex: unset; padding-top: 8px; }
  .proj-copy { max-width: 100%; }
}
