/* MAURO FERRARO · DGPC 2026
   Colores, anchos y espaciados principales editables desde estas variables. */
:root {
  --bg: #000;
  --text: #fff;
  --accent: #b7ff2a;
  --muted: #aaa;
  --line: #2a2a2a;
  --surface: #101010;
  --container: 1360px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Inter', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { color: var(--bg); background: var(--accent); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1,h2,h3,h4,p,dl,dd { margin: 0; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.container { width: 72%; max-width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 18px; color: #000; background: var(--accent); z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { padding-block: 72px 100px; }
.nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: clamp(20px, 3vw, 52px); }
.nav a { position: relative; font-size: 13px; font-weight: 600; text-transform: uppercase; padding-block: 6px; transition: color .2s; }
.nav a::after { content: ''; position: absolute; bottom: 0; left: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--accent); }
.nav a:hover::after { transform: scaleX(1); }
.hero { display: grid; grid-template-columns: 1.55fr .98fr .55fr; gap: 3.3%; align-items: center; animation: enter .7s var(--ease) both; }
.hero-heading { align-self: end; }
.eyebrow { font-size: clamp(12px,1vw,17px); font-weight: 500; text-transform: uppercase; }
.academic-icon { color: var(--accent); font-size: 1.6em; vertical-align: -.08em; margin-right: 6px; }
h1 { font-size: clamp(50px,7.5vw,144px); font-weight: 800; line-height: .91; letter-spacing: -.075em; text-transform: uppercase; margin-top: 22px; }
.hero-description { font-size: clamp(11px,.96vw,17px); font-weight: 500; line-height: 1.2; max-width: 170px; text-transform: uppercase; }
/* ESPACIOS PARA IMÁGENES: insertá el <img> dentro del contenedor y quitá su <span>.
   object-fit: cover conserva la proporción y recorta lo que excede el espacio.
   Para cambiar el encuadre: .hero-photo img { object-position: center 35%; } */
.image-slot { position: relative; display: grid; place-items: center; overflow: hidden; background: #111; border: 1px solid #282828; }
.image-slot > span { padding: 16px; color: #b2b2b2; font-size: 12px; line-height: 1.6; font-weight: 500; text-align: center; text-transform: uppercase; letter-spacing: .07em; }
.image-slot small { display: block; color: #777; font-size: 10px; font-weight: 400; letter-spacing: .04em; }
.image-slot img { position: absolute; inset: 0; transition: transform .6s var(--ease), filter .6s var(--ease); }
.image-slot:has(img) { border-color: transparent; }
.hero-photo { aspect-ratio: 1; }
.campus-banner { aspect-ratio: 9 / 1; margin-top: 110px; }
.section { margin-top: 96px; }
h2 { font-size: clamp(32px,4.5vw,80px); line-height: 1.04; font-weight: 800; letter-spacing: -.065em; text-transform: uppercase; }
.section-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.section-meta p { font-size: 15px; text-transform: uppercase; }
.team-tag { position: relative; flex-shrink: 0; padding: 5px 16px; border-radius: 3px; background: var(--accent); color: #000; font-size: 11px; line-height: 1; font-weight: 700; text-transform: uppercase; }
.team-tag::before { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; left: -26px; top: 50%; transform: translateY(-50%); }
.summary-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 6.5%; margin-top: 30px; }
.campus-photo { aspect-ratio: 4 / 3; }
.academic-timeline { list-style: none; margin: 0; padding: 0; }
.academic-timeline li { display: grid; grid-template-columns: 1fr 24px 110px; align-items: center; gap: 12px; min-height: 58px; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: clamp(10px,.72vw,13px); font-weight: 600; text-transform: uppercase; transition: background .25s, padding .25s; }
.academic-timeline li:last-child { border: 0; }
.academic-timeline .is-current { background: var(--accent); color: #000; border-color: var(--accent); }
.status-icon { text-align: center; font-size: 20px; }
.period { text-align: right; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 46px; }
.stats > div { display: flex; flex-direction: column-reverse; text-align: center; gap: 12px; }
.stats dt { font-size: clamp(11px,1.03vw,18px); font-weight: 500; text-transform: uppercase; }
.stats dd { font-size: 34px; font-weight: 600; letter-spacing: -.05em; }
.team { margin-top: 116px; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7.5%; margin-top: 54px; }
.profile-photo { aspect-ratio: 1; }
.profile-card h3 { margin-top: 20px; font-size: clamp(12px,1vw,17px); font-weight: 500; text-transform: uppercase; }
.profile-cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 16px; padding: 6px 11px; background: #fff; color: #000; border-radius: 3px; font-size: 12px; font-weight: 600; text-transform: uppercase; transition: background .2s, transform .2s; }
.profile-cta span { transition: transform .2s; }
/* Datos académicos: tres niveles de lectura, roles secundarios y nombres destacados. */
.academics { margin-top: 140px; margin-bottom: 110px; }
.academics-heading { position: relative; text-align: center; margin-bottom: 42px; }
.academics-heading .eyebrow { display: flex; justify-content: center; align-items: center; gap: 10px; color: #bbb; font-size: 12px; letter-spacing: .12em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.academics h2 { font-size: clamp(32px,3.7vw,66px); margin-top: 15px; }
.semester { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; border: 1px solid #333; border-radius: 30px; padding: 7px 7px 7px 17px; font-size: 12px; }
.semester strong { color: #000; background: var(--accent); border-radius: 20px; padding: 5px 12px; }
.academic-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.academic-card { padding: clamp(20px,2.3vw,40px); border: 1px solid var(--line); border-top: 2px solid var(--accent); background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.card-kicker { display: flex; align-items: center; justify-content: space-between; color: var(--accent); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 28px; }
.card-kicker > span:last-child { font-size: 18px; }
.academic-card h3 { font-size: 42px; letter-spacing: -.06em; line-height: 1; }
.academic-card h3 > span { display: block; margin-top: 10px; min-height: 38px; font-size: 14px; line-height: 1.4; letter-spacing: -.01em; font-weight: 500; }
.academic-details { margin-top: 26px; display: grid; gap: 17px; }
.academic-details dt { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.academic-details dd { font-size: 13px; line-height: 1.6; font-weight: 500; }
.faculty { margin-top: 25px; padding-top: 24px; border-top: 1px solid var(--line); }
.faculty h4 { font-size: 24px; letter-spacing: -.04em; }
.faculty p { margin-top: 7px; font-size: 13px; line-height: 1.5; color: #ddd; }
.faculty .academic-details { margin-top: 16px; }
.chair-name { color: var(--accent); font-size: 13px; margin-top: 25px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.academic-card--team { background: #13180b; }
.academic-details .to-complete { color: #bcbfb7; }
.site-footer { padding: 32px 0; background: var(--accent); color: #000; }
.site-footer p { font-size: 11px; font-weight: 500; line-height: 1.6; text-align: center; text-transform: uppercase; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) {
  .profile-card:hover .profile-photo img { transform: scale(1.045); }
  .profile-card:hover .profile-photo { border-color: #666; }
  a.profile-cta:hover { background: var(--accent); transform: translateY(-2px); }
  a.profile-cta:hover span { transform: translate(2px,-2px); }
  .academic-card:hover { transform: translateY(-5px); border-color: #668d20; }
  .academic-timeline li:not(.is-current):hover { background: #121212; padding-left: 16px; }
}
@media (min-width: 1800px) { .academic-timeline li { min-height: 66px; } }
@media (max-width: 1100px) {
  .container { width: 86%; }
  .site-header { padding-block: 36px 65px; }
  h1 { font-size: 8.7vw; }
  .campus-banner { margin-top: 70px; }
  .summary-grid { gap: 5%; }
  .academic-timeline li { grid-template-columns: 1fr 18px 80px; gap: 6px; min-height: 50px; }
  .team-grid { gap: 5%; }
  .academic-cards { gap: 12px; }
  .academic-card { padding: 22px; }
}
@media (max-width: 760px) {
  .container { width: 90%; }
  .site-header { padding-block: 22px 48px; }
  .nav { justify-content: space-between; gap: 10px; }
  .nav a { font-size: 10px; }
  .hero { grid-template-columns: 1.35fr 1fr; column-gap: 5%; row-gap: 24px; }
  h1 { font-size: 10.1vw; margin-top: 15px; }
  .hero .eyebrow { font-size: 9px; }
  .hero-description { grid-column: 1 / -1; max-width: 340px; font-size: 12px; line-height: 1.45; }
  .campus-banner { margin-top: 32px; aspect-ratio: 5 / 1; }
  .section { margin-top: 64px; }
  h2 { font-size: clamp(30px,6.1vw,46px); }
  .section-meta { margin-top: 18px; }
  .section-meta p { font-size: 10px; }
  .team-tag { font-size: 8px; padding: 5px 8px; }
  .team-tag::before { width: 8px; height: 8px; left: -16px; }
  .summary-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .campus-photo { aspect-ratio: 3 / 2; }
  .academic-timeline li { min-height: 56px; font-size: 10px; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 30px 14px; margin-top: 32px; }
  .stats dt { font-size: 10px; }
  .stats dd { font-size: 30px; }
  .team-grid { grid-template-columns: minmax(0,1fr); gap: 32px; max-width: 360px; margin: 30px auto 0; }
  .profile-card h3 { margin-top: 13px; font-size: 12px; }
  .profile-cta { font-size: 10px; margin-top: 10px; }
  .academics { margin-bottom: 64px; }
  .academic-cards { grid-template-columns: 1fr; gap: 18px; }
  .academic-card { padding: 28px; }
  .academic-card h3 > span { min-height: 0; }
  .academics-heading .eyebrow { font-size: 10px; }
  .academics-heading { margin-bottom: 28px; }
  .site-footer { padding: 26px 0; }
  .site-footer p { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
