/* ==========================================================================
   globals.css — base layer + the self-hosted face.

   The template declared six @font-face blocks for PP Neue Montreal (Pangram
   Pangram, commercial, all rights reserved) and shipped the TTFs. Archivo is
   the free OFL stand-in — variable, so one woff2 per subset covers the whole
   200-700 range the design uses, instead of six TTFs.
   ========================================================================== */

/* Archivo is variable: one file per subset covers 200-700. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 200 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 200 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

:root {
  --bg: #0f0f0f;
  --text: #fff;
  --text-secondary: #555555;
  --text-darker: #2f2f2f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-sans);
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
}

.container {
  padding: 12em 2em 4em 2em;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The display headings are <h2> now — each page carries one real, visually
   hidden <h1> naming the page — so the size that used to hang off h1 is named
   by class instead. */
.hero-title h2,
.about-copy-title h2,
.contact-header h2,
.portfolio-header h2,
.project-page-title h2,
h1 {
  color: var(--text);
  font-size: 64px;
  font-weight: 500;
  line-height: 110%;
  letter-spacing: -0.02em;
}

h2 {
  color: var(--text);
  font-size: 42px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.01em;
}

h3 {
  color: var(--text);
  font-size: 28px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.005em;
}

p {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
  line-height: 125%;
  letter-spacing: -0.0025em;
}

a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 125%;
  letter-spacing: -0.0025em;
}

@media (max-width: 900px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  p,
  a {
    font-size: 14px;
  }
}
