/* =========================
   FONTS
   ========================= */

/* Aspekta — local */
@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-50.woff2") format("woff2");
  font-weight: 50;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-100.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-150.woff2") format("woff2");
  font-weight: 150;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-200.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-250.woff2") format("woff2");
  font-weight: 250;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-350.woff2") format("woff2");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-450.woff2") format("woff2");
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-550.woff2") format("woff2");
  font-weight: 550;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-650.woff2") format("woff2");
  font-weight: 650;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-750.woff2") format("woff2");
  font-weight: 750;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/Aspekta/Aspekta-850.woff2") format("woff2");
  font-weight: 850;
  font-style: normal;
  font-display: swap;
}


/* =========================
   VARIABLES
   ========================= */

:root {
  --paper: #f2eee6;
  --ink: #2e2e2e;
  --line: #d8d0c5;
  --red: #c83a2d;

  --checker-blue: #203d59;
  --checker-black: #1f1f1f;

  --page-max: 1142px;
  --page-gutter: 24px;

  --display: "Gloock", Georgia, "Times New Roman", serif;
  --sans: "Aspekta", Arial, Helvetica, sans-serif;
}


/* =========================
   RESET / BASE
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--paper);
  color: var(--ink);

  font-family: var(--sans);
  font-weight: 400;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  color: inherit;
}


/* =========================
   PAGE WIDTH
   ========================= */

.page-shell {
  width: min(
    calc(100% - (var(--page-gutter) * 2)),
    var(--page-max)
  );

  margin-inline: auto;
}


/* =========================
   HEADER
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  height: 100px;

  background: var(--paper);

  border-bottom: 1px solid var(--line);

  transition:
    transform 0.3s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  height: 100px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.site-nav {
  display: flex;
  gap: 30px;

  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
}

.nav-link {
  position: relative;

  padding-block: 8px;
}

.nav-link.is-active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 4px;

  height: 1px;

  background: currentColor;
}


/* =========================
   SHARED SECTION LABEL
   ========================= */

.eyebrow {
  display: block;

  margin: 0 0 20px;

  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";

  display: block;

  width: 75px;
  height: 2px;

  margin-bottom: 4px;

  background: var(--line);
}


/* =========================
   SHARED CONTROLS
   ========================= */

.button,
.card-button,
.segment {
  font-family: var(--sans);
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

  :root {
    --page-gutter: 8px;
  }

  .site-nav {
    gap: 24px;

    font-size: 10px;
    font-weight: 500;
  }

  .eyebrow {
    margin-bottom: 16px;

    font-size: 12px;
    font-weight: 500;
  }

  .eyebrow::before {
    width: 75px;
    height: 2px;

    margin-bottom: 4px;
  }
}
