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

   The template pulled Barlow Condensed, DM Mono and Host Grotesk from Google's
   CDN with an @import, twice (the same line was duplicated), asking for every
   weight from 100 to 900 plus italics — about forty faces. Only 400, 500 and
   900 are ever used and no italic is. All three are OFL, so they are simply
   self-hosted here: six woff2 files, 69 KB, latin + latin-ext.
   ========================================================================== */

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/barlow-condensed-900-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/barlow-condensed-900-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;
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-mono-500-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: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-mono-500-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;
}

@font-face {
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/host-grotesk-400-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: 'Host Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/host-grotesk-400-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 {
  --base-100: #f9f4eb;
  --base-200: #efece5;
  --base-300: #0a0a0a;
  --base-secondary-dark: #686560;
  --base-secondary-fade: rgba(249, 244, 235, 0.15);
  --accent-1: #b1c1ef;
  --accent-2: #f2acac;
  --accent-3: #ffdd94;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Host Grotesk";
  background-color: var(--base-100);
  color: var(--base-300);
}

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

h1,
h2,
h3,
h4 {
  text-transform: uppercase;
  font-family: "Barlow Condensed";
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.02rem;
}

h1 {
  font-size: 12rem;
}

h2 {
  font-size: 8rem;
}

h3 {
  font-size: 6rem;
}

h4 {
  font-size: 2.5rem;
}

a {
  text-decoration: none;
}

p {
  font-family: "Host Grotesk";
  font-size: 1.1rem;
}

p.md {
  font-size: 1.3rem;
}

p.lg {
  font-size: 1.5rem;
}

p.mono {
  text-transform: uppercase;
  font-family: "DM Mono";
  font-size: 0.85rem;
  font-weight: 500;
}

p.mono span,
a span {
  position: relative;
  top: -0.1rem;
}

.container {
  width: 100%;
  height: 100%;
  padding: 2.75rem;
  max-width: 2000px;
  margin: 0 auto;
}

.symbols-container {
  display: flex;
  gap: 0.5rem;
  height: 1.125rem;
  z-index: 1;
}

.symbols-container .symbol {
  width: 1.125rem;
}

@media (max-width: 1000px) {
  h1 {
    font-size: 6rem;
  }
  h2 {
    font-size: 5rem;
  }

  h3 {
    font-size: 3rem;
  }

  p {
    font-size: 1rem;
  }

  p.md {
    font-size: 1.125rem;
  }

  p.lg {
    font-size: 1.25rem;
  }

  p.mono {
    font-size: 0.8rem;
  }

  .container {
    padding: 2rem;
  }
}
