/* =========================
   Base
   ========================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100dvh;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #161616;
  background: #f8f8f6;

  display: flex;
  flex-direction: column;

  position: relative;
  overflow: hidden;
}


/* =========================
   Landmark background
   ========================= */

body::before {
  content: "";

  position: fixed;
  inset: 0;

  background-image: url("bg-desktop.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;

  /*
    Keep it very subtle.
    Raise/lower this depending on the final image.
  */
  opacity: 0.28;

  pointer-events: none;

  z-index: 0;
}


/* =========================
   Main content
   ========================= */

.hero {
  flex: 1;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  position: relative;
  z-index: 1;

  padding: 40px 24px 80px;
}


/* =========================
   Logo
   ========================= */

.logo {
  width: 50px;
  height: auto;

  display: block;

  margin-bottom: 42px;
}


/* =========================
   Name
   ========================= */

h1 {
  margin: 0;

  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;

  line-height: 1.1;
  letter-spacing: -0.025em;
}


/* =========================
   Role
   ========================= */

.hero > p {
  margin: 18px 0 0;

  font-size: clamp(0.72rem, 1.2vw, 0.95rem);

  font-weight: 400;

  text-transform: uppercase;

  letter-spacing: 0.42em;

  color: #888;
}


/* =========================
   Social links
   ========================= */

nav {
  margin-top: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 28px;
}

nav a {
  color: #222;

  font-size: 1rem;
  font-weight: 400;

  text-decoration: none;

  padding-bottom: 4px;

  border-bottom: 1px solid #aaa;

  transition:
    color 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

nav a:hover {
  color: #f5ad18;
  border-color: #f5ad18;
}

nav span {
  width: 1px;
  height: 26px;

  background: #d5d5d5;
}


/* =========================
   Footer
   ========================= */

footer {
  position: relative;
  z-index: 1;

  flex-shrink: 0;

  text-align: center;

  padding: 0 20px 30px;

  font-size: 0.72rem;
  font-weight: 400;

  letter-spacing: 0.22em;

  color: #929292;
}


/* =========================
   Mobile
   ========================= */

@media (max-width: 768px) {

  body::before {
    background-image: url("bg-mobile.png");

    background-position: bottom center;

    /*
      The mobile image was specifically composed
      vertically, so contain works well here.
    */
    background-size: 100% auto;

    opacity: 0.24;
  }

  .hero {
    padding:
      30px
      22px
      100px;

    justify-content: center;
  }

  .logo {
    width: 50px;

    margin-bottom: 36px;
  }

  h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);

    line-height: 1.15;
  }

  .hero > p {
    margin-top: 16px;

    font-size: 0.72rem;

    letter-spacing: 0.32em;
  }

  nav {
    margin-top: 36px;

    gap: 22px;
  }

  nav a {
    font-size: 0.95rem;
  }

  nav span {
    height: 22px;
  }

  footer {
    padding-bottom: 24px;

    font-size: 0.68rem;
  }
}


/* =========================
   Very small phones
   ========================= */

@media (max-width: 380px) {

  .logo {
    width: 50px;

    margin-bottom: 30px;
  }

  h1 {
    font-size: 1.65rem;
  }

  .hero > p {
    font-size: 0.63rem;

    letter-spacing: 0.27em;
  }

  nav {
    gap: 18px;
  }

  nav a {
    font-size: 0.9rem;
  }
}