:root{
  --ink:#122018;
  --deep:#13251d;
  --deep-2:#0b1712;

  --olive:#68765a;
  --sage:#a9b29c;

  --cream:#f3efe6;
  --paper:#faf8f3;

  --gold:#c9ab73;

  --white:#ffffff;

  --muted:#667269;

  --line:rgba(18,32,24,.12);

  --shadow:
    0 26px 70px
    rgba(10,23,18,.12);
}


/* =========================================================
   BASE
   ========================================================= */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;

  font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;

  background:var(--paper);

  color:var(--ink);

  line-height:1.6;
}

body.modal-open{
  overflow:hidden;
}

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

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

button{
  font:inherit;
}

.shell{
  width:min(
    1180px,
    calc(100% - 40px)
  );

  margin:auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  position:relative;

  min-height:92vh;

  display:flex;
  flex-direction:column;

  overflow:hidden;

  background:

    linear-gradient(
      90deg,
      rgba(6,16,12,.96) 0%,
      rgba(6,16,12,.88) 34%,
      rgba(6,16,12,.62) 58%,
      rgba(6,16,12,.28) 100%
    ),

    url("assets/img/banner.png");

  background-size:cover;

  background-position:center center;

  background-repeat:no-repeat;

  color:white;
}


.hero::after{
  content:"2026";

  position:absolute;

  right:-2vw;
  bottom:-12vh;

  font:
    700 clamp(180px,28vw,430px)/1
    Cormorant Garamond,
    serif;

  color:rgba(255,255,255,.025);

  letter-spacing:-.06em;

  pointer-events:none;
}


.hero-overlay{
  position:absolute;

  inset:0;

  background:
    linear-gradient(
      180deg,
      rgba(4,12,9,.06),
      rgba(4,12,9,.18)
    );

  pointer-events:none;
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.nav{
  position:relative;

  z-index:3;

  height:92px;

  display:flex;

  align-items:center;

  justify-content:space-between;

  gap:36px;

  border-bottom:
    1px solid
    rgba(255,255,255,.12);
}


/* =========================================================
   MARCA
   ========================================================= */

.brand{
  display:flex;

  align-items:center;

  gap:12px;

  min-width:0;
}


.brand-mark{
  display:grid;

  place-items:center;

  width:46px;
  height:46px;

  flex:0 0 46px;

  border:
    1px solid
    rgba(255,255,255,.55);

  border-radius:50%;

  font-size:12px;

  font-weight:600;

  letter-spacing:.12em;
}


.brand-copy{
  font-family:
    Cormorant Garamond,
    serif;

  font-size:20px;

  font-weight:600;

  white-space:nowrap;
}


.brand-divider{
  width:1px;

  height:30px;

  background:
    rgba(255,255,255,.24);
}


.graduation-logo-wrap{
  width:52px;

  height:52px;

  display:flex;

  align-items:center;

  justify-content:center;

  flex:0 0 52px;

  overflow:hidden;
}


.graduation-logo{
  width:100%;

  height:100%;

  object-fit:contain;
}


/* =========================================================
   MENÚ
   ========================================================= */

.nav-links{
  display:flex;

  gap:28px;

  flex-shrink:0;

  font-size:14px;

  color:
    rgba(255,255,255,.8);
}


.nav-links a{
  transition:.25s ease;
}


.nav-links a:hover{
  color:#fff;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content{
  position:relative;

  z-index:2;

  flex:1;

  display:flex;

  flex-direction:column;

  justify-content:center;

  padding:
    80px 0 120px;
}


.eyebrow,
.section-kicker{
  margin:
    0 0 18px;

  font-size:12px;

  font-weight:600;

  letter-spacing:.22em;

  color:var(--olive);
}


.eyebrow{
  color:var(--gold);
}


.hero h1{
  margin:0;

  font:
    600 clamp(74px,11vw,160px)/.82
    Cormorant Garamond,
    serif;

  letter-spacing:-.04em;
}


.hero h1 span{
  color:var(--gold);
}


.hero-text{
  max-width:560px;

  margin:
    34px 0 0;

  font-size:
    clamp(18px,2vw,24px);

  font-weight:300;

  color:
    rgba(255,255,255,.78);
}


/* =========================================================
   BOTONES
   ========================================================= */

.hero-actions{
  display:flex;

  gap:14px;

  flex-wrap:wrap;

  margin-top:42px;
}


.btn{
  display:inline-flex;

  align-items:center;

  justify-content:center;

  min-height:50px;

  padding:
    0 24px;

  border-radius:999px;

  font-size:14px;

  font-weight:600;

  transition:.25s ease;
}


.btn-primary{
  background:var(--cream);

  color:var(--deep);
}


.btn-primary:hover{
  transform:
    translateY(-2px);
}


.btn-ghost{
  border:
    1px solid
    rgba(255,255,255,.3);

  color:white;
}


.btn-ghost:hover{
  background:
    rgba(255,255,255,.08);
}


/* =========================================================
   INDICADOR SCROLL
   ========================================================= */

.scroll-indicator{
  position:absolute;

  z-index:2;

  left:50%;

  bottom:28px;

  width:1px;

  height:50px;

  background:
    rgba(255,255,255,.2);
}


.scroll-indicator span{
  display:block;

  width:1px;

  height:20px;

  background:white;

  animation:
    scroll 1.8s infinite;
}


@keyframes scroll{

  0%{
    transform:
      translateY(0);

    opacity:0;
  }

  30%{
    opacity:1;
  }

  100%{
    transform:
      translateY(30px);

    opacity:0;
  }

}


/* =========================================================
   INTRO
   ========================================================= */

.intro{
  padding:
    120px 0 100px;

  display:grid;

  grid-template-columns:
    .75fr 1.25fr;

  gap:70px;

  align-items:start;
}


.intro .section-kicker{
  padding-top:12px;
}


.intro h2,
.section-heading h2,
.dates-section h2{
  margin:0;

  font:
    600 clamp(42px,5.5vw,74px)/.98
    Cormorant Garamond,
    serif;

  letter-spacing:-.03em;
}


.lead{
  margin:
    34px 0 0;

  max-width:800px;

  font-size:18px;

  color:var(--muted);
}


/* =========================================================
   GRADUANDOS
   ========================================================= */

.graduates-section{
  padding:
    95px 0 115px;

  background:#fff;
}


.section-heading{
  display:flex;

  justify-content:space-between;

  gap:40px;

  align-items:end;

  margin-bottom:52px;
}


.section-note{
  max-width:390px;

  margin:0;

  color:var(--muted);

  font-size:14px;
}


.graduate-grid{
  display:grid;

  grid-template-columns:
    repeat(4,1fr);

  gap:22px;
}


/* =========================================================
   TARJETA DEL GRADUANDO
   ========================================================= */

.graduate-card{
  position:relative;

  overflow:hidden;

  aspect-ratio:3/4;

  background:var(--cream);
  border-radius:18px;
  cursor:pointer;

  isolation:isolate;

  box-shadow:
    0 0 0 1px
    rgba(18,32,24,.06);

  transition:
    transform .35s ease,
    box-shadow .35s ease;
    
}


.graduate-card:hover{
  transform:
    translateY(-8px);

  box-shadow:var(--shadow);
}


.graduate-card:focus-visible{
  outline:
    3px solid
    var(--gold);

  outline-offset:4px;
}


.graduate-fallback{
  position:absolute;

  inset:0;

  display:grid;

  place-items:center;

  background:
    linear-gradient(
      145deg,
      #d7ddcf,
      #aeb9a3
    );

  color:
    rgba(18,32,24,.4);

  font:
    600 78px/1
    Cormorant Garamond,
    serif;
}


.graduate-photo{
  position:absolute;

  inset:0;

  width:100%;

  height:100%;

  object-fit:cover;

  filter:
    saturate(.9);

  transition:
    opacity .55s ease,
    transform .7s
    cubic-bezier(.2,.7,.2,1);
}


.graduate-photo-primary{
  z-index:0;
}


.graduate-photo-hover{
  z-index:1;

  opacity:0;

  transform:
    scale(1.04);
}


.graduate-card:hover
.graduate-photo-hover,
.graduate-card:focus-visible
.graduate-photo-hover{
  opacity:1;

  transform:
    scale(1);
}


.graduate-card:hover
.graduate-photo-primary{
  transform:
    scale(1.04);
}


.graduate-card::after{
  content:"";

  position:absolute;

  inset:0;

  z-index:2;

  background:
    linear-gradient(
      to top,
      rgba(6,15,11,.88) 0%,
      rgba(6,15,11,.35) 40%,
      transparent 70%
    );

  pointer-events:none;
}


.graduate-info{
  position:absolute;

  z-index:3;

  left:20px;

  right:20px;

  bottom:20px;

  color:white;
}


.graduate-number{
  display:block;

  margin-bottom:6px;

  font-size:11px;

  letter-spacing:.18em;

  color:
    rgba(255,255,255,.65);
}


.graduate-name{
  margin:0;

  font:
    600 27px/1.03
    Cormorant Garamond,
    serif;
}


.graduate-label{
  margin:
    7px 0 0;

  font-size:12px;

  color:
    rgba(255,255,255,.72);
}


.graduate-view{
  display:block;

  margin-top:15px;

  font-size:11px;

  font-weight:600;

  letter-spacing:.15em;

  text-transform:uppercase;

  color:var(--gold);

  opacity:0;

  transform:
    translateY(8px);

  transition:
    .3s ease;
}


.graduate-card:hover
.graduate-view,
.graduate-card:focus-visible
.graduate-view{
  opacity:1;

  transform:
    translateY(0);
}


/* =========================================================
   FECHAS
   ========================================================= */

.dates-section{
  padding:
    105px 0 115px;

  background:var(--deep);

  color:white;
}


.light{
  color:var(--gold);
}


.dates-section h2{
  margin-bottom:52px;
}


.dates-grid{
  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:16px;
}


.date-card{
  display:flex;

  gap:24px;

  align-items:center;

  padding:28px;

  border:
    1px solid
    rgba(255,255,255,.12);

  background:
    rgba(255,255,255,.03);
}


.date-card.accent{
  background:var(--cream);

  color:var(--deep);

  border-color:transparent;
}


.date-day{
  font:
    600 62px/1
    Cormorant Garamond,
    serif;

  color:var(--gold);
}


.accent .date-day{
  color:var(--olive);
}


.date-month{
  margin:
    0 0 4px;

  font-size:10px;

  font-weight:600;

  letter-spacing:.2em;

  opacity:.7;
}


.date-card h3{
  margin:0;

  font:
    600 24px/1.05
    Cormorant Garamond,
    serif;
}


.date-card p:last-child{
  margin:
    8px 0 0;

  font-size:13px;

  opacity:.72;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer{
  padding:
    42px 0;

  background:#0a1510;

  color:
    rgba(255,255,255,.65);
}


.footer-inner{
  display:flex;

  justify-content:space-between;

  align-items:center;

  gap:30px;
}


.footer-inner strong{
  font-family:
    Cormorant Garamond,
    serif;

  color:white;

  font-size:21px;
}


.footer-inner p{
  margin:
    4px 0 0;

  font-size:12px;
}


/* =========================================================
   MODAL
   ========================================================= */

.graduate-modal{
  position:fixed;

  inset:0;

  z-index:1000;

  display:flex;

  align-items:center;

  justify-content:center;

  padding:28px;

  visibility:hidden;

  opacity:0;

  pointer-events:none;

  transition:
    opacity .35s ease,
    visibility .35s ease;
}


.graduate-modal.is-open{
  visibility:visible;

  opacity:1;

  pointer-events:auto;
}


.modal-backdrop{
  position:absolute;

  inset:0;

  background:
    rgba(3,9,6,.88);

  backdrop-filter:
    blur(12px);
}


.graduate-modal-panel{
  position:relative;

  z-index:2;

  width:min(1180px,100%);

  max-height:
    calc(100vh - 56px);

  overflow:auto;

  background:#0c1712;

  color:white;

  box-shadow:
    0 40px 100px
    rgba(0,0,0,.45);
}


.modal-close{
  position:absolute;

  top:18px;

  right:20px;

  z-index:20;

  width:46px;

  height:46px;

  border:
    1px solid
    rgba(255,255,255,.28);

  border-radius:50%;

  background:
    rgba(5,15,10,.55);

  color:#fff;

  cursor:pointer;

  font-size:30px;

  line-height:1;

  transition:.25s ease;
}


.modal-close:hover{
  background:white;

  color:var(--deep);
}


/* =========================================================
   PERFIL
   ========================================================= */

.profile-layout{
  display:grid;

  grid-template-columns:
    1.08fr .92fr;

  min-height:720px;
}


/* FOTO PRINCIPAL */

.profile-hero{
  position:relative;

  min-height:720px;

  overflow:hidden;

  background:#18251f;
}


.profile-hero > img{
  position:absolute;

  inset:0;

  width:100%;

  height:100%;

  object-fit:cover;
}


.profile-hero-shade{
  position:absolute;

  inset:0;

  background:

    linear-gradient(
      to top,
      rgba(3,10,6,.90) 0%,
      rgba(3,10,6,.20) 52%,
      rgba(3,10,6,.08) 100%
    );
}


.profile-heading{
  position:absolute;

  z-index:3;

  left:48px;

  right:48px;

  bottom:42px;
}


.profile-heading h2{
  margin:
    8px 0 10px;

  max-width:720px;

  font:
    600 clamp(44px,5vw,76px)/.90
    Cormorant Garamond,
    serif;

  letter-spacing:-.035em;
}


.profile-heading p{
  margin:0;

  font-size:12px;

  letter-spacing:.15em;

  text-transform:uppercase;

  color:
    rgba(255,255,255,.65);
}


.profile-number{
  font-size:11px;

  font-weight:600;

  letter-spacing:.22em;

  color:var(--gold);
}


/* INFORMACIÓN */

.profile-story{
  display:flex;

  flex-direction:column;

  padding:
    64px 54px 48px;

  background:
    linear-gradient(
      150deg,
      #102018,
      #08110d
    );
}


.profile-copy{
  padding-bottom:38px;
}


.profile-field{
  margin-top:28px;
}


.profile-field-label{
  display:block;

  margin-bottom:10px;

  font-size:10px;

  font-weight:600;

  letter-spacing:.2em;

  color:var(--gold);
}


.profile-field-goal{
  padding:
    22px 0;

  border-top:
    1px solid
    rgba(255,255,255,.10);
}


.profile-quote{
  margin:
    10px 0 34px;

  font:
    500 clamp(28px,3vw,46px)/1.08
    Cormorant Garamond,
    serif;

  color:#f2eee5;
}


.profile-goal{
  margin:0;

  font:
    500 clamp(23px,2.4vw,33px)/1.12
    Cormorant Garamond,
    serif;

  color:#fff;
}


.profile-meta{
  display:flex;

  justify-content:space-between;

  gap:20px;

  padding-top:22px;

  border-top:
    1px solid
    rgba(255,255,255,.13);

  font-size:11px;

  letter-spacing:.13em;

  color:
    rgba(255,255,255,.6);
}


.profile-meta strong{
  color:#fff;

  font-weight:500;

  text-align:right;
}


/* FOTOS SECUNDARIAS */

.profile-gallery{
  margin-top:auto;

  display:grid;

  grid-template-columns:
    .92fr 1.08fr;

  gap:14px;

  align-items:end;
}


.profile-image{
  margin:0;

  overflow:hidden;

  background:#1d2923;
}


.profile-image img{
  width:100%;

  height:100%;

  object-fit:cover;
}


.profile-image-portrait{
  aspect-ratio:3/4;
}


.profile-image-creative{
  aspect-ratio:4/5;

  transform:
    translateY(-28px);
}


.profile-image.is-missing{
  display:none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:960px){

  .graduate-grid{
    grid-template-columns:
      repeat(3,1fr);
  }

  .intro{
    grid-template-columns:1fr;

    gap:20px;
  }

  .dates-grid{
    grid-template-columns:1fr;
  }

  .section-heading{
    align-items:start;

    flex-direction:column;
  }

  .nav-links{
    display:none;
  }

  .profile-layout{
    grid-template-columns:1fr;
  }

  .profile-hero{
    min-height:72vh;
  }

}


@media(max-width:680px){

  .shell{
    width:
      min(
        calc(100% - 28px),
        1180px
      );
  }

  .hero{
    min-height:88vh;
  }

  .nav{
    height:76px;
  }

  .brand{
    gap:8px;
  }

  .brand-mark{
    width:38px;

    height:38px;

    flex-basis:38px;

    font-size:10px;
  }

  .brand-copy{
    font-size:16px;
  }

  .brand-divider{
    height:24px;
  }

  .graduation-logo-wrap{
    width:40px;

    height:40px;

    flex-basis:40px;
  }

  .hero-content{
    padding:
      55px 0 100px;
  }

  .hero h1{
    font-size:72px;
  }

  .graduate-grid{
    grid-template-columns:
      repeat(2,1fr);

    gap:12px;
  }

  .graduate-name{
    font-size:21px;
  }

  .graduate-info{
    left:14px;

    right:14px;

    bottom:14px;
  }

  .graduate-view{
    opacity:1;

    transform:none;

    font-size:9px;
  }

  .intro,
  .graduates-section,
  .dates-section{
    padding-top:80px;

    padding-bottom:80px;
  }

  .date-card{
    padding:22px;
  }

  .date-day{
    font-size:52px;
  }

  .footer-inner{
    align-items:flex-start;

    flex-direction:column;
  }

  .graduate-modal{
    padding:0;
  }

  .graduate-modal-panel{
    width:100%;

    min-height:100vh;

    max-height:100vh;
  }

  .profile-hero{
    min-height:65vh;
  }

  .profile-heading{
    left:24px;

    right:24px;

    bottom:28px;
  }

  .profile-story{
    padding:
      40px 24px 34px;
  }

}


@media(max-width:480px){

  .brand-divider{
    display:none;
  }

  .brand-copy{
    font-size:14px;
  }

  .graduation-logo-wrap{
    width:34px;

    height:34px;

    flex-basis:34px;
  }

  .profile-gallery{
    gap:9px;
  }

  .profile-image-creative{
    transform:
      translateY(-14px);
  }

  .profile-meta{
    flex-direction:column;
  }

  .profile-meta strong{
    text-align:left;
  }

}


@media(max-width:420px){

  .graduate-grid{
    grid-template-columns:
      1fr 1fr;
  }

  .graduate-label{
    display:none;
  }

}