@font-face{
  font-family: "GirlNextDoor";
  src: url("../assets/fonts/girlnextdoor-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root{
  --bg: #ffffff;
  --text: #000000;
  --muted: #666666;
  --line: rgba(0,0,0,0.14);
  --max: 1380px;
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.45;
  font-weight: 400;
}

img{
  display: block;
  width: 100%;
  height: auto;
}

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

.site-shell{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 22px 80px 22px;
}

.site-header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 0 20px 0;
  border-bottom: 1px solid var(--line);
}

.brand-block{
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  width: 420px;
}

.brand-logo img{
  height: 92px;
  width: auto;
  display: block;
}


.brand-sub{
  display: block;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
  text-align: left;
  transform: translateX(24px);
}

.site-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 14px;
}

.site-nav a{
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active{
  border-bottom-color: var(--text);
}

.home-intro{
  padding: 42px 0 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
  gap: 6px;
  align-items: end;
}

.home-main{
  min-width: 0;
}

.home-side{
  display: grid;
  gap: 10px;
  align-content: end;
  max-width: 640px;
}

.home-title{
  font-size: clamp(3.1rem, 7vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 0 0 18px 0;
  max-width: 7.4ch;
}

.home-text{
  max-width: 28ch;
  font-size: 1.02rem;
  color: var(--muted);
}

.home-note{
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 14px;
}

.home-side{
  padding-top: 10px;
}

.side-statement{
  border-top: 1px solid var(--line);
  padding-top: 10px;
  max-width: 100%;
  font-size: 1.05rem;
  line-height: 1.42;
}

.hero-image{
  border-top: 1px solid var(--line);
  padding-top: 14px;
  max-width: 100%;
  margin: 6px 0 0 0;
}

.hero-image img{
  width: 100%;
  display: block;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.section{
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.section-head{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.section-label{
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.section-copy{
  max-width: 68ch;
  color: var(--muted);
}

.artist-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.artist-image-large,
.artist-image-small{
  border: 1px solid var(--line);
  padding: 10px;
}

.artist-image-large img,
.artist-image-small img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: white;
  filter: grayscale(90%) contrast(95%);
  transition: filter 0.6s ease;
}

.artist-image-large img:hover,
.artist-image-small img:hover{
  filter: grayscale(0%);
}

.artist-stack{
  display: contents;
}

.plain-links{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.plain-link{
  padding: 18px 14px 20px 0;
  border-right: 1px solid var(--line);
  min-height: 130px;
}

.plain-link:last-child{
  border-right: 0;
}

.plain-link strong{
  display: block;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.plain-link span{
  display: block;
  color: var(--muted);
  max-width: 24ch;
}

.video-block{
  max-width: 980px;
  margin-left: auto;
}

.video-frame{
  border: 1px solid var(--line);
  padding: 10px;
}

.video-frame iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.page-hero{
  padding: 42px 0 22px 0;
}

.page-hero h1{
  margin: 0 0 10px 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.page-hero p{
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
}

.page-list{
  border-top: 1px solid var(--line);
}

.page-item{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-item-label{
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-item-body strong{
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.page-item-body span{
  color: var(--muted);
}

.project-cover{
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}

.project-cover img{
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.meta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 12px 0;
}

.meta-pill{
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

.text-block{
  max-width: 74ch;
  color: var(--muted);
}

.text-block strong{
  color: var(--text);
}

.footer{
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inline{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-inline a{
  color: inherit;
  text-decoration: none;
}

.footer-inline a:hover{
  color: var(--text);
}

.footer-sep{
  color: var(--muted);
}

.instagram-link span{
  opacity: 0.7;
}

.instagram-link:hover span{
  opacity: 1;
}

/* Ajuste fino del icono */
.instagram-link .instagram-icon{
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transform: translateY(1px);
}

.instagram-link:hover .instagram-icon{
  opacity: 1;
}

@media (max-width: 980px){
  .home-intro,
  .artist-grid,
  .section-head,
  .page-item,
  .plain-links{
    grid-template-columns: 1fr;
  }

  .site-header{
    flex-direction: column;
    align-items: flex-start;
  }

  .home-text,
  .side-statement{
    max-width: 100%;
  }

  .plain-link{
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .plain-link:last-child{
    border-bottom: 0;
  }
}

@media (max-width: 700px){
  .footer-inline{
    gap: 8px;
  }

  .footer-sep{
    display: none;
  }
}

@media (max-width: 640px){
  .site-shell{
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-block{
    max-width: 220px;
  }

  .brand-logo img{
    height: 64px;
  }

  .brand-sub{
    max-width: 220px;
    font-size: 0.88rem;
  }

  .home-title{
    font-size: 3.3rem;
  }
}

/* Books layout */

.book-item{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
}

.book-cover img{
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 700px){
  .book-item{
    grid-template-columns: 1fr;
  }

  .book-cover{
    max-width: 200px;
  }
}

.project-figure img,
.project-panel img{
  width: 100%;
  height: auto;
  display: block;
}

.project-graphs{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 980px;
}

.project-graph{
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.project-graph img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter: none;
}

.project-panel{
  max-width: 980px;
}

.profile-image{
  width:100%;
  aspect-ratio:3 / 2;
  overflow:hidden;
}

.profile-image{
  width:100%;
  aspect-ratio:3 / 2;
  overflow:hidden;
}

.profile-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter: grayscale(100%) contrast(1.35) brightness(0.9);
}

.hero-slider{
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.hero-slide{
  position: absolute;
  inset: 14px 0 0 0;
  width: 100%;
  height: calc(100% - 14px);
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.4s ease, filter 0.6s ease;
  filter: grayscale(70%);
}

.hero-slide.active{
  opacity: 1;
}

.hero-slide:hover{
  filter: grayscale(0%);
}

.project-panel.full-width{
  width: 100%;
  max-width: none;
}

/* =========================================
   L⊙⊙K
   ========================================= */

.look-hero{
  padding-bottom: 10px;
}

.look-title{
  letter-spacing: -0.06em;
}

.look-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.look-card{
  position: relative;
  min-height: 300px;
  padding: 18px;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-color: #f3f3f3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
  filter: grayscale(100%);
}

.look-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.50) 42%, rgba(255,255,255,0.10) 100%);
  z-index: 1;
}

.look-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  z-index: 1;
  transition: background 0.3s ease;
}

.look-card{
  filter: grayscale(100%);
}

.look-card:hover{
  filter: grayscale(20%);
}
.look-card:hover{
  transform: translateY(-2px);
  border-color: rgba(0,0,0,0.28);
  filter: grayscale(20%);
}

.look-card:hover::after{
  background: rgba(0,0,0,0.02);
}

.look-card-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.look-card-title{
  font-size: 1.9rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0;
  color: #000;
  max-width: 10ch;
}

.look-card-meta{
  color: rgba(0,0,0,0.72);
  font-size: 0.92rem;
  line-height: 1.3;
}

.look-series-section.is-hidden{
  display: none;
}

#look-series-title{
  display: block;
  margin-top: 2px;
  font-size: 1.25rem;
}

.look-gallery{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.look-thumb{
  border: 1px solid var(--line);
  padding: 10px;
  background: #fff;
  cursor: pointer;
}

.look-thumb img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(92%) contrast(98%);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.look-thumb:hover img{
  filter: grayscale(0%);
  transform: scale(1.01);
}

.look-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.98);
  padding: 28px;
}

.look-lightbox.is-hidden{
  display: none;
}

.look-lightbox-close{
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}

.look-lightbox-inner{
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.look-lightbox-media{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 16px;
  background: #fff;
}

.look-lightbox-media img{
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.look-lightbox-info{
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.look-lightbox-label{
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 10px;
}

.look-lightbox-info h2{
  margin: 0 0 10px 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 0.95;
}

.look-lightbox-filename{
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.look-lightbox-text{
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.55;
}

.look-lightbox-text a{
  color: var(--text);
  text-decoration: none;
}

.look-lightbox-text a:hover{
  text-decoration: underline;
}

@media (max-width: 1100px){
  .look-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .look-gallery{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px){
  .look-grid,
  .look-gallery,
  .look-lightbox-inner{
    grid-template-columns: 1fr;
  }

  .look-card{
    min-height: 220px;
  }

  .look-card-title{
    font-size: 1.55rem;
  }

  .look-lightbox{
    padding: 18px;
    overflow: auto;
  }

  .look-lightbox-media img{
    max-height: 60vh;
  }
}

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

.site-footer{
  margin-top: 80px;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-right{
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-right a{
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
}

.footer-right a:hover{
  opacity: 1;
}

/* Instagram icon */
.instagram-icon{
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 780px){
  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-left{
    max-width: 100%;
  }
}

.is-hidden{
  display: none;
}

.page-item.is-disabled{
  opacity: 0.6;
  pointer-events: none;
}
