:root {
  --bg: #ffffff;
  --ink: #121212;
  --ink-2: #2a2a2a;
  --muted: #6a6a6a;
  --muted-2: #9a9a9a;
  --line: #e7e7e7;
  --accent: #00b67a;
  --maxw: 1320px;
  --pad-x: clamp(20px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

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

.hero-letter,
.hero-role,
.hero-lead {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 55ms + 80ms);
}

body.is-loaded .hero-letter,
body.is-loaded .hero-role,
body.is-loaded .hero-lead {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .hero-letter,
  .hero-role,
  .hero-lead {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.navbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 28px);
}

.nav-menu a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.25s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav-menu a:hover {
  opacity: 1;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 560px) {
  .nav-menu {
    gap: 14px;
  }
  .nav-menu a {
    font-size: 12px;
  }
  .brand {
    font-size: 13px;
  }
}

/* Hero */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad-x) clamp(24px, 4vw, 48px);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-name {
  margin: 18px 0 0;
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: clamp(54px, 10.5vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-line {
  display: flex;
  justify-content: center;
  gap: 0;
}

.hero-letter {
  display: inline-block;
  will-change: opacity, transform;
}

.hero-role {
  margin: clamp(20px, 3vw, 32px) 0 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 680px;
}

.hero-lead {
  margin: clamp(14px, 2vw, 20px) 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}


/* Profile image */
.profile-image {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  overflow: hidden;
  background: #f4f4f4;
  padding: 0 var(--pad-x);
}

.profile-image img {
  width: 100%;
  height: clamp(420px, 60vh, 720px);
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.06);
  border-radius: 4px;
  will-change: transform;
}

/* Section base */
section {
  max-width: var(--maxw);
  margin: 0 auto;
}

.eyebrow {
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.text-link:hover {
  opacity: 0.7;
  transform: translateX(4px);
}

/* Sobre */
.about {
  padding: clamp(80px, 10vw, 144px) var(--pad-x);
}

.about-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) clamp(220px, 22vw, 320px);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.about-grid-secondary {
  grid-template-columns: 180px minmax(0, 1fr);
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.about-grid-first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.about-grid + .about-grid {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.about-portrait {
  margin: 0;
  width: 100%;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-portrait {
    max-width: 320px;
    margin-top: 8px;
  }
  .about-grid-secondary {
    grid-template-columns: 1fr;
  }
}

.about-copy {
  max-width: 720px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  color: var(--ink-2);
}

.about-copy p + p {
  margin-top: 20px;
}

.about-copy .lead {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.about-copy .signoff {
  margin-top: 28px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Tesis */
.thesis {
  max-width: none;
  padding: clamp(48px, 6vw, 88px) var(--pad-x);
  background: #0e0e0e;
  color: #ffffff;
  text-align: center;
}

.thesis-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.thesis .eyebrow {
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.thesis-text {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(24px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #ffffff;
  max-width: 920px;
  margin: 0 auto;
}

.thesis-source {
  margin-top: clamp(18px, 2.5vw, 28px);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* Principios */
.principles {
  padding: clamp(72px, 10vw, 144px) var(--pad-x) clamp(40px, 6vw, 72px);
}

.principles-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: clamp(36px, 5vw, 64px);
}

.section-title {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.principle {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}

.principle:last-of-type {
  border-bottom: 1px solid var(--line);
}

.principle-num {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  padding-top: 6px;
  transition: color 0.4s, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.principle:hover .principle-num {
  color: var(--accent);
  transform: translateX(8px);
}

.principle-title {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 720px;
}

.principle-body p {
  margin: 22px 0 0;
  max-width: 680px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--muted);
}

/* Marquee */
.marquee {
  max-width: none;
  padding: clamp(20px, 3vw, 32px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3.5vw, 48px);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}

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

/* DelegIA */
.delegia {
  padding: clamp(56px, 7vw, 88px) var(--pad-x) clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.delegia-inner {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  max-width: 1100px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.delegia-text {
  max-width: 680px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.delegia .text-link {
  display: inline-block;
  margin-top: 20px;
}

.departments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.department {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: clamp(28px, 3vw, 40px);
  min-height: 220px;
  color: var(--ink);
  transition: background 0.45s, color 0.45s;
}

.department-num {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  transition: color 0.45s;
}

.department-name {
  margin-top: 14px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.45s;
}

.department-desc {
  margin-top: 14px;
  flex: 1;
  font-family: Inter, sans-serif;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
  color: var(--muted);
  transition: color 0.45s;
}

.department-arrow {
  align-self: flex-start;
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.45s;
}

.department:hover {
  background: #0e0e0e;
  color: #ffffff;
}

.department:hover .department-num {
  color: rgba(255, 255, 255, 0.55);
}

.department:hover .department-name,
.department:hover .department-desc,
.department:hover .department-arrow {
  color: #ffffff;
}

.department:hover .department-arrow {
  transform: translateX(10px);
}

/* Prensa */
.press {
  padding: clamp(48px, 6vw, 80px) var(--pad-x) clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
}

.press-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: clamp(28px, 4vw, 48px);
}

.press-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.press-feature {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.press-feature:hover {
  transform: translateY(-6px);
}

.press-feature-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.press-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.press-feature:hover .press-feature-media img {
  transform: scale(1.05);
}

.press-feature-body {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.press-feature-source {
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.press-feature-title {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.press-feature-meta {
  margin: 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.press-feature-arrow {
  font-size: 18px;
  color: var(--ink);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.press-feature:hover .press-feature-arrow {
  transform: translateX(8px);
}

.press-mentions {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.press-mentions li {
  border-bottom: 1px solid var(--line);
}

.press-mentions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 2vw, 26px) 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: padding 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s;
}

.press-mentions a:hover {
  padding-left: 12px;
}

.press-mention-arrow {
  font-size: 18px;
  color: var(--muted-2);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s;
}

.press-mentions a:hover .press-mention-arrow {
  transform: translateX(8px);
  color: var(--ink);
}

@media (max-width: 900px) {
  .press-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Enlaces */
.links {
  max-width: none;
  padding: 0;
  border-top: 1px solid var(--line);
}

.links-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) var(--pad-x) 0;
}

.links-list {
  margin-top: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.links-list li {
  border-bottom: 1px solid var(--line);
}

.links-list a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: clamp(20px, 2.5vw, 32px) var(--pad-x);
  margin: 0 calc(var(--pad-x) * -1);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  overflow: hidden;
  isolation: isolate;
}

.links-list a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0e0e0e;
  transform: translateY(101%);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: -1;
}

.links-list a::after {
  content: "→";
  margin-left: auto;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--muted-2);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.45s;
}

.links-list a:hover {
  color: #ffffff;
}

.links-list a:hover::before {
  transform: translateY(0);
}

.links-list a:hover::after {
  transform: translateX(12px);
  color: #ffffff;
}


/* Footer */
.footer {
  margin-top: clamp(40px, 6vw, 80px);
  background: #0e0e0e;
  color: #fafafa;
}

.footer-row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--pad-x) clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}

.footer-row p {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 500;
}

.footer-row a {
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.footer-label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
}

.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--pad-x);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #888;
}

/* Responsive */
@media (max-width: 900px) {
  .delegia-inner,
  .press-inner,
  .links-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .nav-menu {
    gap: 14px;
  }

  .nav-menu a {
    font-size: 13px;
  }

  .hero-links {
    flex-direction: column;
    gap: 12px;
  }

  .signature-line {
    font-size: clamp(64px, 22vw, 180px);
  }
}
