/* ====================================================================
   MAIN — LY Arquitectos
   Componentes compartidos: footer, sections, disciplinas, cards
==================================================================== */

/* FOOTER */
.ly-footer {
  background: var(--txt);
  color: var(--bg);
  padding: clamp(60px,8vw,96px) var(--g) 40px;
}
.ly-footer__top {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 260px 1fr;
  gap: clamp(40px,6vw,120px);
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 36px;
}
.ly-footer__logo-link { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.ly-footer__logo-isotipo  { height: 24px; width: auto; display: block; flex-shrink: 0; filter: brightness(0) invert(1); }
.ly-footer__logo-logotipo { height: 14px; width: auto; display: block; filter: brightness(0) invert(1); }
.ly-footer__tagline { font-family: var(--f); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.8; opacity: .4; }
.ly-footer__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.ly-footer__col-h { font-family: var(--f); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .35; margin-bottom: 18px; }
.ly-footer__col ul { list-style: none; }
.ly-footer__col li { margin-bottom: 10px; }
.ly-footer__col a { font-family: var(--f); font-size: 13px; text-decoration: none; opacity: .6; transition: opacity .2s; color: var(--bg); }
.ly-footer__col a:hover { opacity: 1; }
.ly-footer__bottom { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.ly-footer__copy { font-family: var(--f); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .35; }
.ly-footer__social { display: flex; gap: 24px; }
.ly-footer__social a { opacity: .4; transition: opacity .2s; color: var(--bg); text-decoration: none; }
.ly-footer__social a:hover { opacity: 1; }
.ly-footer__social a i { font-size: 18px; }

/* SECTION HEADS genéricos */
.ly-section-head {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--g);
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(24px,3vw,48px);
}
.ly-section-head__l { display: flex; align-items: flex-end; gap: 20px; }
.ly-n { font-family: var(--f); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-bottom: 6px; }
.ly-section-h { font-family: var(--f); font-weight: 300; font-size: clamp(32px,5vw,80px); text-transform: uppercase; letter-spacing: -.03em; line-height: .95; }

/* ARROW LINK */
.ly-arrow-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--txt); text-decoration: none; transition: gap .2s var(--ease), color .2s; white-space: nowrap; }
.ly-arrow-link:hover { gap: 14px; color: var(--acc); }

/* PAGINACIÓN */
.ly-pagination { max-width: var(--max); margin: 0 auto; padding: clamp(40px,5vw,60px) var(--g) 0; border-top: 1px solid var(--bdr); }
.ly-pagination ul { list-style: none; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ly-pagination a,
.ly-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; font-family: var(--f); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; color: var(--txt); border: 1px solid var(--bdr); border-radius: 2px; transition: all .2s; }
.ly-pagination a:hover { color: var(--acc); border-color: var(--acc); }
.ly-pagination .current { background: var(--acc); color: #fff; border-color: var(--acc); }

/* DISCIPLINAS — compartido entre home, about, disciplines */
.ly-discs__row { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); display: grid; grid-template-columns: repeat(3,1fr); }
.ly-disc { padding: clamp(32px,3vw,56px) clamp(24px,2.5vw,48px); border-right: 1px solid var(--bdr); }
.ly-disc:nth-child(3n+1) { padding-left: 0; }
.ly-disc:nth-child(3n)   { border-right: none; }
.ly-disc__n { display: block; font-family: var(--f); font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--muted); margin-bottom: 20px; }
.ly-disc__t { font-family: var(--f); font-weight: 300; font-size: clamp(22px,2.5vw,40px); text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin-bottom: 18px; }
.ly-disc__d { font-family: var(--f); font-size: clamp(13px,1vw,15px); line-height: 1.7; color: var(--muted); margin-bottom: 24px; }

/* PROJECT CARDS — compartido entre home, archive, disciplines */
.ly-arc-card__a { display: block; text-decoration: none; color: var(--txt); }
.ly-arc-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.ly-arc-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ly-arc-card__ph { width: 100%; height: 100%; background: #d8d5cf; }
.ly-arc-card:hover .ly-arc-card__img-wrap img { transform: scale(1.04); }
.ly-arc-card__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; transition: background .3s; }
.ly-arc-card:hover .ly-arc-card__overlay { background: rgba(0,0,0,.22); }
.ly-arc-card__overlay span { font-family: var(--f); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #fff; opacity: 0; transform: translateY(8px); transition: all .3s; }
.ly-arc-card:hover .ly-arc-card__overlay span { opacity: 1; transform: translateY(0); }
.ly-arc-card__info { padding: 12px 16px 24px; }
.ly-arc-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.ly-arc-card__tags span { font-family: var(--f); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ly-arc-card__tags span::after { content: '·'; margin-left: 6px; }
.ly-arc-card__tags span:last-child::after { content: ''; }
.ly-arc-card__status { color: var(--acc) !important; }
.ly-arc-card__title { font-family: var(--f); font-weight: 500; font-size: clamp(12px,1vw,15px); text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; margin-bottom: 5px; margin-top: 0; }
.ly-arc-card__meta { font-family: var(--f); font-size: clamp(10px,.9vw,12px); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* GRIDS */
.ly-home-grid,
.ly-arc-grid { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }

/* PAGE HEADER genérico */
.ly-page-head { padding: calc(72px + clamp(60px,8vw,100px)) var(--g) clamp(48px,6vw,80px); border-bottom: 1px solid var(--bdr); }
.ly-page-head__inner { max-width: var(--max); margin: 0 auto; }
.ly-page-head__label { font-family: var(--f); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 20px; }
.ly-page-head__title { font-family: var(--f); font-weight: 300; font-size: clamp(40px,6vw,100px); text-transform: uppercase; letter-spacing: -.03em; line-height: .98; margin-bottom: 20px; }
.ly-page-head__sub { font-family: var(--f); font-size: clamp(15px,1.2vw,18px); font-weight: 300; line-height: 1.6; color: var(--muted); max-width: 560px; }

/* PEOPLE CARDS — about */
.ly-ab-person__a { display: block; text-decoration: none; color: var(--txt); }
.ly-ab-person__img-wrap { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.ly-ab-person__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ly-ab-person__ph { width: 100%; height: 100%; background: #d8d5cf; }
.ly-ab-person:hover .ly-ab-person__img-wrap img { transform: scale(1.04); }
.ly-ab-person__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; transition: background .3s; }
.ly-ab-person:hover .ly-ab-person__overlay { background: rgba(0,0,0,.22); }
.ly-ab-person__overlay span { font-family: var(--f); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #fff; opacity: 0; transform: translateY(8px); transition: all .3s; }
.ly-ab-person:hover .ly-ab-person__overlay span { opacity: 1; transform: translateY(0); }
.ly-ab-person__info { padding: 12px 16px 24px; }
.ly-ab-person__name { font-family: var(--f); font-weight: 500; font-size: clamp(12px,1vw,15px); text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; margin-bottom: 5px; margin-top: 0; }
.ly-ab-person__role { font-family: var(--f); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.ly-ab-person__excerpt { font-family: var(--f); font-size: 11px; font-weight: 300; line-height: 1.7; color: var(--muted); }

/* THINKING — cards compartidos */
.ly-think-head { padding: calc(72px + clamp(60px,8vw,100px)) var(--g) clamp(48px,6vw,80px); border-bottom: 1px solid var(--bdr); }
.ly-think-head__inner { max-width: var(--max); margin: 0 auto; }
.ly-think-head__label { font-family: var(--f); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 20px; }
.ly-think-head__title { font-family: var(--f); font-weight: 300; font-size: clamp(40px,6vw,88px); line-height: 1.0; text-transform: uppercase; letter-spacing: -.03em; max-width: 900px; margin-bottom: 24px; }
.ly-think-head__sub { font-family: var(--f); font-size: clamp(15px,1.2vw,18px); font-weight: 300; line-height: 1.6; color: var(--muted); max-width: 560px; }
.ly-think-section-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(32px,4vw,56px); }
.ly-think-section-title { font-family: var(--f); font-weight: 300; font-size: clamp(32px,4vw,64px); text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin-bottom: 8px; }
.ly-think-section-sub { font-family: var(--f); font-size: 13px; font-weight: 300; color: var(--muted); }
.ly-think-empty { max-width: var(--max); margin: 0 auto; padding: 40px var(--g); font-family: var(--f); font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* Essay cards */
.ly-essay-card__a { display: block; text-decoration: none; color: var(--txt); }
.ly-essay-card__img-wrap { overflow: hidden; aspect-ratio: 3/2; margin-bottom: clamp(16px,2vw,24px); }
.ly-essay-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ly-essay-card:hover .ly-essay-card__img-wrap img { transform: scale(1.04); }
.ly-essay-card__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; font-family: var(--f); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ly-essay-card__series { background: rgba(182,161,107,.1); color: var(--acc); padding: 2px 8px; border-radius: 2px; }
.ly-essay-card__title { font-family: var(--f); font-weight: 500; font-size: clamp(14px,1.3vw,20px); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 8px; }
.ly-essay-card__sub { font-family: var(--f); font-size: 13px; font-weight: 300; font-style: italic; color: var(--muted); margin-bottom: 16px; }
.ly-essay-card__excerpt { font-family: var(--f); font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--muted); }

/* Video cards */
.ly-video-card__a { display: block; text-decoration: none; color: var(--txt); }
.ly-video-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; margin-bottom: clamp(14px,2vw,20px); }
.ly-video-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ly-video-card__ph { width: 100%; height: 100%; background: #d8d5cf; }
.ly-video-card:hover .ly-video-card__img-wrap img { transform: scale(1.04); }
.ly-video-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0); transition: background .3s; }
.ly-video-card:hover .ly-video-card__play { background: rgba(0,0,0,.3); }
.ly-video-card__play i { font-size: 32px; color: #fff; opacity: .8; transition: transform .3s; }
.ly-video-card:hover .ly-video-card__play i { transform: scale(1.2); }
.ly-video-card__dur { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.7); color: #fff; padding: 4px 8px; font-family: var(--f); font-size: 10px; font-weight: 600; border-radius: 2px; }
.ly-video-card__guest { font-family: var(--f); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.ly-video-card__title { font-family: var(--f); font-weight: 500; font-size: clamp(13px,1.1vw,17px); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 8px; }
.ly-video-card__date { font-family: var(--f); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* Autónoma cards */
.ly-aut-card__a { display: block; text-decoration: none; color: var(--txt); }
.ly-aut-card__img-wrap { overflow: hidden; aspect-ratio: 3/4; margin-bottom: clamp(16px,2vw,24px); }
.ly-aut-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ly-aut-card__ph { width: 100%; height: 100%; background: #d8d5cf; }
.ly-aut-card:hover .ly-aut-card__img-wrap img { transform: scale(1.04); }
.ly-aut-card__meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-family: var(--f); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ly-aut-card__n { color: var(--acc); }
.ly-aut-card__type { background: rgba(182,161,107,.1); color: var(--acc); padding: 2px 6px; border-radius: 2px; }
.ly-aut-card__title { font-family: var(--f); font-weight: 500; font-size: clamp(13px,1.1vw,16px); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 8px; }
.ly-aut-card__excerpt { font-family: var(--f); font-size: 12px; font-weight: 300; line-height: 1.6; color: var(--muted); }

/* Grids thinking */
.ly-think-essays__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(32px,4vw,60px); }
.ly-think-videos__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3vw,48px); }
.ly-aut-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(32px,4vw,60px); }

/* Essay big card */
.ly-essay-card--big { grid-column: 1 / 3; }

/* Related projects */
.ly-p-related { padding: clamp(60px,6vw,100px) 0; }
.ly-p-related__head { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(32px,4vw,56px); }
.ly-p-related__head h2 { font-family: var(--f); font-weight: 300; font-size: clamp(32px,4vw,64px); text-transform: uppercase; letter-spacing: -.03em; }
.ly-p-related__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.ly-p-related__grid article a { display: block; text-decoration: none; color: var(--txt); }
.ly-rel-img { overflow: hidden; aspect-ratio: 4/3; }
.ly-rel-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ly-rel-img-ph { width: 100%; height: 100%; background: #d8d5cf; }
.ly-p-related__grid article:hover .ly-rel-img img { transform: scale(1.04); }
.ly-rel-info { padding: 14px 16px 20px; }
.ly-p-related__grid h3 { font-family: var(--f); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.ly-p-related__grid p { font-family: var(--f); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
