@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/syne-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/syne-800.ttf') format('truetype');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/instrument-serif-italic.ttf') format('truetype');
}

:root {
  --display-font: 'Syne', 'Montserrat', sans-serif;
  --accent-font: 'Instrument Serif', Georgia, serif;
}

/* Architectural display lettering, with a fluid editorial accent. */
h2,
.work-page .portfolio h1,
.service h3,
.process h3,
.journey-caption h3,
.project-card-details h3,
.project-dialog-header h2,
.dialog-inner h2,
.contact-title,
.ticker span,
.journey-steps button > strong {
  font-family: var(--display-font);
  font-weight: 600;
  letter-spacing: -.04em;
  font-synthesis: none;
}

body.immersive .hero h1 {
  font-family: var(--display-font);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.055em;
}

body.immersive .hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
}

.hero-word {
  white-space: nowrap;
}

body.immersive .hero h1 .italic,
.journey-intro h2 em,
.possibility-copy h2 em,
.dialog-inner h2 em,
.contact-title > span {
  font-family: var(--accent-font);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.045em;
}

body.immersive .hero h1 .italic {
  font-size: 1.26em;
  line-height: .98;
  padding-right: .08em;
}

.journey-intro h2 em,
.possibility-copy h2 em,
.dialog-inner h2 em {
  font-size: 1.15em;
}

.contact-title > span {
  font-size: 1.15em;
  line-height: 1;
}

.work-page .portfolio h1 {
  line-height: 1.13;
}

.hero h1 .italic:after {
  height: 1px;
  bottom: -.01em;
  left: 0;
  width: 92%;
}

@media (max-width: 760px) {
  body.immersive .hero h1 {
    font-size: clamp(36px, 11.2vw, 78px);
    letter-spacing: -.055em;
    margin-top: 45px;
  }

  body.immersive .hero h1 .italic {
    font-size: 1.52em;
  }

  .work-page .portfolio h1 {
    font-size: 34px;
  }

  .contact-title {
    font-size: clamp(40px, 10vw, 70px);
    letter-spacing: -.05em;
  }
}
