/* José Bernabé — shared project shell 1.0
   Applies to META; reusable on further project pages using data-project-*
   hooks, without copying scroll / header / hero code across files. */
:root{--project-ink:#383838;--project-hero-title-size:clamp(70px,6.47vw,110px)}
[data-project-header]{transition:color .22s ease}
[data-project-header] .logo img,
[data-project-header] .brandmark img{
  transition:filter .24s ease;
}
[data-project-header].is-scrolled{color:var(--project-ink)}
[data-project-header].is-scrolled .nav-dot{background-color:var(--project-ink)}
[data-project-header].is-scrolled .menu-toggle,
[data-project-header].is-scrolled .mobile-menu-button{color:var(--project-ink)}
/* White JB mark over the image; exactly #383838 over the light content. */
[data-project-header].is-scrolled .logo img,
[data-project-header].is-scrolled .brandmark img{
  filter:brightness(0) invert(22%);
}
/* Desktop hero: first fold fills the viewport, with text kept inside it. */
@media(min-width:701px){
  [data-project-hero]{height:100vh;height:100dvh;min-height:0;max-height:none}
  [data-project-hero] .hero-heading,
  [data-project-hero] .hero-copy{bottom:clamp(16px,3.25vh,31px)}
}
/* Limit title / caption on short, wide desktop screens. */
@media(min-width:701px) and (max-height:700px){
  [data-project-hero] .hero-title{font-size:clamp(48px,12vh,93px)}
  [data-project-hero] .hero-subtitle,
  [data-project-hero] .hero-caption{font-size:clamp(14px,3.1vh,20px)}
}
/* Follow the 393px-wide mobile Figma composition, rather than filling
   an entire tall phone and losing the next section below the fold. */
@media(max-width:700px){
  [data-project-hero]{height:97.5vw;min-height:0;max-height:none}
}
