@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --display-face: "Instrument Serif", Georgia, serif;
  --earth: #795739;
  --entrance-ease: cubic-bezier(.2,.7,.2,1);
}
.masthead.scrolled {background: var(--paper)}

.display-title {
  font: 400 clamp(3.25rem, 6.85vw, 7.35rem)/1.08 var(--serif);
  letter-spacing: .005em;
  word-spacing: .04em;
}
.title-part {display: inline-block}
.display-title em {color: #49634f; font-family: Georgia, "Times New Roman", serif; font-weight: 400}
#proyecto-titulo .title-part {display: block}
.heading-phrase {display: block}
.eyebrow, .lc-zone-index {
  font: 650 .875rem/1.4 var(--sans);
  letter-spacing: .08em;
  color: var(--earth);
}
.project-intro .standfirst {
  font-size: clamp(1.4rem, 1.9vw, 1.95rem);
  line-height: 1.42;
  text-wrap: pretty;
}
.facts dd {font: 400 clamp(2.9rem, 5vw, 5rem)/1.15 var(--display-face)}
.facts small {font: 550 .32em/1 var(--sans)}
.facts dt {font-weight: 550}

.map-heading {align-items: end; padding-block: clamp(2rem,4vw,4.4rem) clamp(1rem,1.8vw,2rem)}
.contact-heading {
  font: 600 clamp(2rem, 3.8vw, 4.3rem)/1.14 var(--sans);
  letter-spacing: .005em;
  word-spacing: .045em;
  text-wrap: balance;
}
.map-heading p {max-width: 32ch; line-height: 1.45}
.film-title {font-size: clamp(2.95rem, 5.25vw, 5.75rem)}
.map-heading .display-title, .lc-zone-title {
  font: 400 clamp(2.85rem, 4.9vw, 5.7rem)/1.12 var(--serif);
  letter-spacing: .01em;
  word-spacing: .045em;
}
.lc-zone-intro {line-height: 1.48}
.lc-zone-label {font-weight: 700}
.lc-plan-about h4 {font: 600 clamp(1.35rem, 2vw, 2rem)/1.18 var(--sans); letter-spacing: -.02em}

@media (min-width: 851px) {
  .lc-zone-header {grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr)}
}
@media (max-width: 850px) {
  .lc-zone-header {grid-template-columns: 1fr; gap: .9rem}
}
@media (max-width: 720px) {
  #proyecto-titulo .title-part {display: inline-block}
  .display-title {font-size: clamp(2.55rem, 11vw, 4.5rem)}
  .film-title {font-size: clamp(2.4rem, 9.9vw, 4.2rem)}
  .map-heading p {max-width: 36ch}
  .map-heading .display-title, .lc-zone-title {font-size: clamp(2.5rem, 9.9vw, 4.4rem)}
}

@media screen and (prefers-reduced-motion: no-preference) {
  #nombre-proyecto .flight-logo {
    animation: title-unfold .82s var(--entrance-ease) both;
  }
  #inicio .flight-link {
    animation: title-arrive .52s .12s var(--entrance-ease) backwards;
  }
  .heading-ready:not(.heading-in-view) > :is(.title-part, .heading-phrase) {
    opacity: .25;
    transform: translateY(.48em);
  }
  .heading-in-view > :is(.title-part, .heading-phrase) {
    animation: heading-lift .95s var(--entrance-ease) backwards;
  }
  #mapa-titulo.heading-in-view > .title-part {animation-delay: .16s}
  #mapa-titulo.heading-in-view > .title-part + .title-part {animation-delay: .28s}
  .heading-in-view > .title-part + .title-part {animation-delay: .15s}
  @keyframes heading-lift {
    from {opacity: .25; transform: translateY(.48em)}
    to {opacity: 1; transform: none}
  }
  @keyframes title-unfold {
    from {opacity: .18; transform: translateY(.18em); clip-path: inset(-.12em -.08em 45%)}
    to {opacity: 1; transform: translateY(0); clip-path: inset(-.12em -.08em -.18em)}
  }
  @keyframes title-arrive {
    from {opacity: .32; transform: translateY(.2em)}
    to {opacity: 1; transform: translateY(0)}
  }
}
