/* ============================================
   IA Fashionista — B&W Editorial Web
   Gallery + Editorial Film direction
   ============================================ */

:root {
  --ink:        #0A0A0A;
  --ink-soft:   #1A1A18;
  --paper:      #F4F2EE;
  --paper-soft: #E8E4DD;
  --line:       rgba(10,10,10,0.14);
  --line-soft:  rgba(10,10,10,0.08);
  --line-dark:  rgba(244,242,238,0.18);
  --grey:       #6B6864;
  --grey-soft:  #9A9692;

  /* Fuchsia gradient */
  --fuchsia-1: #FF006E;
  --fuchsia-2: #FF3D8C;
  --fuchsia-3: #FF66B2;
  --fuchsia-grad: linear-gradient(90deg, #FF006E 0%, #FF3D8C 45%, #FF66B2 100%);

  --serif: "Cormorant Garamond", "Instrument Serif", Georgia, serif;
  --serif-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", "Geist", system-ui, sans-serif;
  --display: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --max: 1500px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(96px, 12vw, 180px);

  --ease-slow: cubic-bezier(.2,.7,.2,1);
  --ease-curtain: cubic-bezier(.86,0,.07,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--ink); color: var(--paper); }

html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
/* Photos display in their original color */

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Layout shells */
.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* Typography primitives */
.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--fuchsia-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--fuchsia-2);
}

.editorial {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.editorial em, .it {
  font-style: normal;
  background: var(--fuchsia-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text {
  background: var(--fuchsia-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.h-xxl { font-size: clamp(80px, 16vw, 260px); }
.h-xl  { font-size: clamp(64px, 11vw, 180px); }
.h-lg  { font-size: clamp(48px, 8vw, 124px); }
.h-md  { font-size: clamp(36px, 5.4vw, 84px); }
.h-sm  { font-size: clamp(24px, 3vw, 44px); }

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  letter-spacing: 0.005em;
  color: rgba(244,242,238,0.78);
  max-width: 56ch;
}

.body-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(244,242,238,0.72);
  max-width: 60ch;
}

.mono-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey-soft);
}

/* Sections with dark moments */
section { position: relative; }
.dark {
  background: var(--ink);
  color: var(--paper);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s var(--ease-slow), transform 1.2s var(--ease-slow);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-slow), transform 0.9s var(--ease-slow);
}
.reveal.in .reveal-letter { opacity: 1; transform: translateY(0); }

/* Hairline rule */
.hr {
  height: 1px;
  background: var(--line-dark);
  border: 0;
  margin: 0;
}

/* Custom cursor (desktop) */
#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9000;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-slow), height 0.35s var(--ease-slow), background 0.35s, border-color 0.35s, opacity 0.35s;
  mix-blend-mode: difference;
  background: transparent;
}
#cursor-ring.is-hover {
  width: 60px; height: 60px;
  background: var(--paper);
}
@media (max-width: 900px), (hover: none) {
  #cursor-ring { display: none; }
  * { cursor: auto !important; }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  transition: background 0.45s var(--ease-slow), border-color 0.45s, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,10,0.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  color: var(--paper);
  border-bottom-color: var(--line-dark);
  padding: 14px var(--gutter);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: none;
  line-height: 1;
}
.nav-brand .logo-img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.4s var(--ease-slow);
}
.nav.scrolled .nav-brand .logo-img { filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  gap: clamp(20px, 2.4vw, 40px);
  align-items: center;
}
.nav-link {
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.nav-link:hover { opacity: 1; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-slow);
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 30px; height: 18px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease-slow), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 13px; }
.nav-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { top: 9px; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    bottom: 0;
    background: var(--ink);
    color: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 22px;
    font-family: var(--serif-display);
    font-style: italic;
    letter-spacing: -0.01em;
    text-transform: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.5s var(--ease-slow), transform 0.5s var(--ease-slow);
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-toggle { display: block; z-index: 110; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s var(--ease-slow);
}
.hero-video.is-active { opacity: 1; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 35%, rgba(10,10,10,0.75) 100%);
  z-index: 1;
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 120px var(--gutter) 56px;
}

.hero-meta {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.7);
}
.hero-meta span { display: inline-flex; gap: 10px; align-items: center; }
.hero-meta .hero-eyebrow {
  padding: 8px 14px;
  border: 1px solid rgba(244,242,238,0.22);
  border-radius: 999px;
  background: rgba(10,10,10,0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--paper);
}
.hero-meta .dot {
  width: 6px; height: 6px;
  background: var(--fuchsia-1);
  border-radius: 50%;
  animation: pulse 2.4s infinite;
  box-shadow: 0 0 12px var(--fuchsia-1);
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Display headline */
.hero-display {
  margin-top: auto;
  margin-bottom: auto;
}
.display-headline {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(64px, 13vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.display-headline .line {
  display: block;
  overflow: hidden;
}
.display-headline .line > * {
  display: inline-block;
}
.display-headline .line-1 { color: var(--paper); }
.display-headline .line-2 {
  background: var(--fuchsia-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.display-headline .line {
  transform: translateY(110%);
  transition: transform 1.4s var(--ease-curtain);
}
.display-headline .line-1 { transition-delay: 0.2s; }
.display-headline .line-2 { transition-delay: 0.45s; }
.hero.in .display-headline .line { transform: translateY(0); }

.hero-intro {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.55;
  letter-spacing: 0.005em;
  color: rgba(244,242,238,0.85);
  max-width: 56ch;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--ease-slow) 1.2s, transform 1.2s var(--ease-slow) 1.2s;
}
.hero.in .hero-intro { opacity: 1; transform: translateY(0); }

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--ease-slow) 1.5s, transform 1.2s var(--ease-slow) 1.5s;
}
.hero.in .hero-ctas { opacity: 1; transform: translateY(0); }

.btn-gradient {
  background: var(--fuchsia-grad);
  color: var(--paper);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.4s var(--ease-slow), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,0,110,0.35);
}
.btn-gradient .arr { display: inline-block; transition: transform 0.4s; }
.btn-gradient:hover .arr { transform: translateX(4px); }

.btn-outline {
  background: transparent;
  color: var(--paper);
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(244,242,238,0.35);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.hero-trace,
.hero-sub { display: none; }

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(244,242,238,0.12);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.6);
  opacity: 0;
  transition: opacity 1.2s var(--ease-slow) 2.2s;
}
.hero.in .hero-bottom { opacity: 1; }
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-scroll .arrow {
  width: 22px; height: 1px;
  background: currentColor;
  position: relative;
  animation: arrowMove 2.6s var(--ease-slow) infinite;
}
.hero-scroll .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
}
@keyframes arrowMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  position: relative;
}
.about-image::before {
  content: "";
  position: absolute;
  top: -16px; left: -16px;
  width: 100%; height: 100%;
  border: 1px solid rgba(244,242,238,0.4);
  z-index: -1;
}
.about-body { max-width: 56ch; }
.about-body .editorial { margin: 16px 0 28px; color: var(--paper); }
.about-body strong {
  color: var(--paper);
  font-weight: 500;
}
.about-body em {
  background: var(--fuchsia-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
  font-weight: 500;
}
.about-quote {
  margin-top: var(--section-y);
  padding-top: 80px;
  border-top: 1px solid var(--line-dark);
  text-align: center;
}
.about-quote-headline {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.about-quote-headline .aq-line-1 {
  font-size: clamp(40px, 6vw, 88px);
  color: var(--paper);
  display: block;
  line-height: 0.98;
}
.about-quote-headline .aq-line-2 {
  font-size: clamp(28px, 4.2vw, 60px);
  display: block;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.about-quote-headline .aq-line-2 em {
  font-style: italic;
  font-weight: 900;
}
.about-quote .editorial { max-width: 22ch; margin: 0 auto; color: var(--paper); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image::before { display: none; }
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonials {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  gap: 24px;
  flex-wrap: wrap;
}
.testi-list {
  display: flex;
  flex-direction: column;
}
.testi-row {
  display: grid;
  grid-template-columns: 80px 1fr 220px;
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--line-dark);
  align-items: start;
}
.testi-row:last-child { border-bottom: 1px solid var(--line-dark); }
.testi-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--grey-soft);
}
.testi-quote {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.testi-quote em { font-style: italic; color: rgba(244,242,238,0.7); }
.testi-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}
.testi-meta strong {
  color: var(--paper);
  font-weight: 500;
}

@media (max-width: 900px) {
  .testi-row { grid-template-columns: 1fr; gap: 18px; }
  .testi-meta { text-align: left; flex-direction: row; gap: 16px; }
}

/* ============================================
   WORKS / TRABAJOS
   ============================================ */
.works {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.works-header {
  margin-bottom: 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.btn-full-portfolio {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.btn-full-portfolio .arr { display: inline-block; transition: transform 0.4s; }
.btn-full-portfolio:hover .arr { transform: translateX(4px); }

/* Marquee */
.works-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.works-track {
  display: inline-flex;
  width: max-content;
  gap: clamp(20px, 2vw, 36px);
  animation: worksMove 60s linear infinite;
  will-change: transform;
  padding: 0 clamp(20px, 4vw, 64px);
}
.works-marquee:hover .works-track { animation-play-state: paused; }
@keyframes worksMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.work-card-marq {
  flex: 0 0 auto;
  width: clamp(260px, 24vw, 340px);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.work-card-num {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--paper);
  background: rgba(10,10,10,0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(244,242,238,0.18);
}
.work-img-marq {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
  transition: transform 1.2s var(--ease-slow);
  border-radius: 4px;
}
.work-card-marq:hover .work-img-marq { transform: scale(1.03); }

/* Full portfolio overlay */
.full-portfolio {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-slow);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 88px var(--gutter) 64px;
}
.full-portfolio.open { opacity: 1; pointer-events: auto; }
.fp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.fp-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 260;
  width: 48px; height: 48px;
  background: rgba(10,10,10,0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244,242,238,0.3);
  border-radius: 50%;
  color: var(--paper);
  font-size: 22px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.fp-close:hover { background: var(--paper); color: var(--ink); }
.fp-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.6vw, 28px);
}
.full-portfolio .work-img {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 4px;
}
.full-portfolio .work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-top: 8px;
  flex-wrap: wrap;
}
.full-portfolio .work-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 1100px) {
  .fp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .fp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .full-portfolio { padding: 72px 16px 48px; }
  .fp-header { margin-bottom: 28px; }
  .works-header { flex-direction: column; align-items: flex-start; }
  .full-portfolio .work-title { font-size: 14px; }
  .full-portfolio .work-tag { font-size: 9px; letter-spacing: 0.2em; }
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.6vw, 28px);
}
.work-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-column: span 1;
}
.work-img {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 1.4s var(--ease-slow);
  position: relative;
}
.work-card:hover .work-img { transform: scale(1.02); }

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-top: 2px;
}
.work-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(15px, 1.1vw, 18px);
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1.2;
  text-transform: none;
}
.work-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey-soft);
  white-space: nowrap;
}
.work-desc { display: none; }

@media (max-width: 1000px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .works-header { grid-template-columns: 1fr; }
}

/* Work modal */
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-slow);
  overflow-y: auto;
}
.work-modal.open { opacity: 1; pointer-events: auto; }
.work-modal-close {
  position: fixed;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid rgba(244,242,238,0.35);
  border-radius: 50%;
  color: var(--paper);
  z-index: 210;
  font-family: var(--mono);
  font-size: 16px;
  transition: background 0.3s, border-color 0.3s;
}
.work-modal-close:hover { background: var(--paper); color: var(--ink); }
.work-modal-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px var(--gutter) 96px;
}
.work-modal-header { margin-bottom: 64px; }
.work-modal-header .work-tag { color: var(--grey-soft); }
.work-modal-header h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 16px 0 12px;
}
.work-modal-subtitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey-soft);
  margin-bottom: 28px;
}
.work-modal-narrative {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: rgba(244,242,238,0.85);
  max-width: 60ch;
}
.work-modal-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.work-modal-gallery .gi {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}
.work-modal-gallery .gi-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-modal-gallery .gi.span-3 { grid-column: span 3; }
.work-modal-gallery .gi.span-6 {
  grid-column: span 6;
  aspect-ratio: 16/9;
}
.work-modal-gallery .gi.span-2 {
  grid-column: span 2;
  aspect-ratio: 3/4;
}
.work-modal-gallery .gi.span-4 { grid-column: span 4; aspect-ratio: 4/3; }
.work-modal-gallery .gi-video.span-6 video { aspect-ratio: 16/9; }
@media (max-width: 700px) {
  .work-modal-gallery { grid-template-columns: 1fr; }
  .work-modal-gallery .gi { grid-column: span 1 !important; aspect-ratio: 4/5; }
}

/* ============================================
   PRESS
   ============================================ */
.press {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
}
.press-header {
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.press-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-dark);
}
.press-row {
  display: grid;
  grid-template-columns: 80px 1fr 200px 90px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding 0.4s var(--ease-slow), background 0.4s;
}
.press-row:hover { padding-left: 14px; }
.press-row .p-year,
.press-row .p-where,
.press-row .p-arrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.55);
}
.press-row .p-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.005em;
  color: var(--paper);
}
.press-row .p-arrow { text-align: right; }
.press-row:hover .p-arrow { color: var(--paper); }

@media (max-width: 900px) {
  .press-row {
    grid-template-columns: 60px 1fr 50px;
    gap: 16px;
  }
  .press-row .p-where { display: none; }
  .press-header { grid-template-columns: 1fr; }
}

/* ============================================
   COURSES
   ============================================ */
.courses {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
}
.courses-header {
  margin-bottom: 80px;
  text-align: center;
}
.courses-header .editorial { margin-top: 16px; color: var(--paper); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
}
.course-card {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 480px;
  position: relative;
  cursor: pointer;
  transition: background 0.5s var(--ease-slow), color 0.5s var(--ease-slow);
}
.course-card:hover {
  background: var(--paper);
  color: var(--ink);
}
.course-card:hover .course-cta { color: var(--ink); }
.course-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--grey-soft);
  transition: color 0.5s;
}
.course-card:hover .course-num { color: var(--grey); }
.course-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-top: auto;
}
.course-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.78;
}
.course-cta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  transition: color 0.5s;
}
.course-cta .arr {
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.4s;
}
.course-cta .arr::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
}
.course-card:hover .course-cta .arr { width: 32px; }

@media (max-width: 900px) {
  .courses-grid { grid-template-columns: 1fr; }
  .course-card { min-height: auto; padding: 44px 28px; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
}
.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-headline {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.contact-headline em { font-style: italic; }
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 16px;
}
.contact-row { display: flex; flex-direction: column; gap: 8px; }
.contact-row .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey-soft);
}
.contact-row .v {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 28px);
  letter-spacing: -0.005em;
}
.contact-row .v a { position: relative; }
.contact-row .v a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-slow);
}
.contact-row .v a:hover::after { transform: scaleX(1); }

.contact-socials {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.contact-socials a {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244,242,238,0.28);
  border-radius: 50%;
  color: rgba(244,242,238,0.85);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.contact-socials a:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

@media (max-width: 900px) {
  .contact-shell { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
}
.faq-header {
  margin-bottom: 64px;
  text-align: center;
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line-dark);
}
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -0.005em;
  color: var(--paper);
  text-align: left;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--grey-soft); }
.faq-plus {
  width: 22px; height: 22px;
  position: relative;
  flex-shrink: 0;
  margin-left: 24px;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.5s var(--ease-slow);
}
.faq-plus::before {
  top: 50%; left: 0; right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.faq-plus::after {
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}
.faq-item.open .faq-plus::after { transform: translateX(-50%) rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-slow);
}
.faq-a-inner {
  padding-bottom: 32px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(244,242,238,0.72);
  max-width: 70ch;
}
.faq-item.open .faq-a { max-height: 600px; }

/* ============================================
   BRANDS / Clientes — Logos marquee
   ============================================ */
.brands {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 56px 0;
}
.brands-label {
  display: block;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey-soft);
  margin-bottom: 36px;
}
.brands-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.brands-track {
  display: inline-flex;
  width: max-content;
  animation: brandsMove 42s linear infinite;
  will-change: transform;
}
.brands-marquee:hover .brands-track { animation-play-state: paused; }
.brands-set {
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding-right: clamp(40px, 5vw, 80px);
}
.brand-item {
  flex: 0 0 auto;
  width: 180px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.4s;
}
.brand-item:hover { opacity: 1; }
.brand-logo {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.brand-logo.invert { filter: invert(0) brightness(0) invert(1); }
@keyframes brandsMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   Display section headlines
   ============================================ */
.display-section {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--paper);
  margin-top: 16px;
}

/* ============================================
   SERVICIOS
   ============================================ */
.services {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
}
.services-header {
  margin-bottom: 72px;
  max-width: 720px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 36px);
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(244,242,238,0.03);
  border: 1px solid rgba(244,242,238,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.5s var(--ease-slow), transform 0.6s var(--ease-slow), background 0.5s;
}
.service-card:hover {
  border-color: rgba(255,61,140,0.4);
  background: rgba(255,61,140,0.04);
  transform: translateY(-4px);
}
.service-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.service-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.6s var(--ease-slow);
}
.service-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-card:hover .service-img { transform: scale(1.04); }
.service-num {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  font-weight: 600;
  background: var(--fuchsia-grad);
  color: var(--paper);
  padding: 6px 12px;
  border-radius: 999px;
}
.service-body {
  padding: 4px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 1.8vw, 28px);
  letter-spacing: -0.015em;
  color: var(--paper);
  line-height: 1.15;
}
.service-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(244,242,238,0.7);
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.service-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.55);
  padding: 4px 10px;
  border: 1px solid rgba(244,242,238,0.15);
  border-radius: 999px;
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
}
.capabilities {
  padding: var(--section-y) 0;
  background: var(--ink);
}
.capabilities-header {
  margin-bottom: 72px;
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 32px);
}
.cap-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 480px;
  background: var(--ink-soft);
  transition: transform 0.6s var(--ease-slow);
}
.cap-card:hover { transform: translateY(-6px); }
.cap-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transition: opacity 0.6s var(--ease-slow), transform 1.6s var(--ease-slow);
}
.cap-card:hover .cap-img { opacity: 0.7; transform: scale(1.04); }
.cap-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.85) 100%);
  z-index: 1;
}
.cap-body {
  position: relative;
  z-index: 2;
  padding: 48px 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
}
.cap-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 2vw, 32px);
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 14px;
}
.cap-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(244,242,238,0.78);
  max-width: 38ch;
}

@media (max-width: 900px) {
  .capabilities-grid { grid-template-columns: 1fr; }
  .cap-card { min-height: 380px; }
  .cap-body { min-height: 380px; padding: 36px 28px; }
}

/* ============================================
   CTA — Let's Create
   ============================================ */
.cta {
  position: relative;
  padding: var(--section-y) 0;
  background: var(--ink);
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: blur(2px) brightness(0.55);
  z-index: 0;
}
.cta::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, var(--ink) 75%);
  z-index: 1;
}
.cta-shell {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-headline {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 16px 0;
}
.cta-headline .line-white { color: var(--paper); }
.cta-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: rgba(244,242,238,0.78);
  max-width: 56ch;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   FOOTER (Maison Meta style)
   ============================================ */
.footer {
  background: var(--ink);
  color: var(--grey-soft);
  padding: 96px var(--gutter) 32px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 80px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-brand .logo-img {
  width: 64px;
  height: auto;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-soft);
  max-width: 38ch;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.5);
  margin: 0 0 24px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 8px 0; }
.footer li a {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--paper);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer li a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
.footer-mark { display: none; }
