* {
  box-sizing: border-box;
}

html {
  margin: 0;
  min-height: 100%;
  background: #faf9f6;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family: Georgia, "Times New Roman", serif;

  color: #1f1a16;
  background: #faf9f6;

  line-height: 1.6;
}


/* --------------------------------------------------
   Very subtle paper texture
-------------------------------------------------- */

body::before {
  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(
      circle at 20% 25%,
      rgba(70, 60, 45, 0.018),
      transparent 28%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(70, 60, 45, 0.014),
      transparent 32%
    );
}


/* --------------------------------------------------
   Header
-------------------------------------------------- */

header {
  display: flex;
  align-items: center;

  width: 100%;

  padding: 1.5rem 2rem;
}


.logo {
  display: inline-flex;
  align-items: center;

  text-decoration: none;
}


.logo img {
  display: block;

  width: 52px;
  height: 52px;

  object-fit: contain;
}


.header-links {
  margin-left: auto;

  display: flex;
  align-items: center;

  gap: 1.5rem;
}


.header-links a,
.header-links a:link,
.header-links a:visited,
.header-links a:active,
.header-links a:focus {
  display: inline-flex;
  align-items: baseline;

  gap: 0.22rem;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;

  color: #1f1a16 !important;
  -webkit-text-fill-color: #1f1a16 !important;

  text-decoration: none !important;
}


.header-links a:hover {
  color: #1f1a16 !important;
  -webkit-text-fill-color: #1f1a16 !important;

  text-decoration: underline !important;

  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px;
}


.external-arrow {
  display: inline-block;

  font-family: Arial, Helvetica, sans-serif;

  font-style: normal;
  font-size: 0.82em;
  font-weight: inherit;

  line-height: 1;

  color: #1f1a16 !important;
  -webkit-text-fill-color: #1f1a16 !important;

  font-variant-emoji: text;
}


/* --------------------------------------------------
   Main
-------------------------------------------------- */

main {
  width: 100%;
  max-width: 760px;

  margin: 9vh auto 0;

  padding: 0 2rem 4rem;
}


h1 {
  margin: 0 0 1.5rem;

  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;

  line-height: 0.95;
  letter-spacing: -0.04em;
}


.tagline {
  max-width: 620px;

  margin: 0 0 2rem;

  font-size: clamp(1.3rem, 2.5vw, 1.8rem);

  line-height: 1.45;
}


.description {
  max-width: 620px;

  font-size: 1.05rem;
  line-height: 1.8;

  color: #3f372f;
}


.description p {
  margin-top: 0;
  margin-bottom: 1.2rem;
}


/* --------------------------------------------------
   Email
-------------------------------------------------- */

/*
   This is NOT a hyperlink.

   It's a completely reset button, so the browser
   cannot turn it blue, purple, or underline it.
*/

.email-contact {
  all: unset;

  display: inline-flex;
  align-items: center;

  gap: 6px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;

  line-height: 1;

  color: #3f372f !important;
  -webkit-text-fill-color: #3f372f !important;

  cursor: pointer;

  opacity: 0.72;
}


.email-contact span {
  color: #3f372f !important;
  -webkit-text-fill-color: #3f372f !important;

  text-decoration: none !important;
}


.email-contact:hover {
  color: #3f372f !important;
  -webkit-text-fill-color: #3f372f !important;

  opacity: 0.85;
}


.email-contact:focus-visible {
  outline: 1px solid #3f372f;
  outline-offset: 3px;
}


/* Envelope — exactly 12px */

.mail-icon {
  display: inline-block;

  width: 12px !important;
  height: 12px !important;

  min-width: 12px !important;
  min-height: 12px !important;

  max-width: 12px !important;
  max-height: 12px !important;

  flex: 0 0 12px;

  color: #3f372f !important;
  fill: #3f372f !important;

  margin: 0;
  padding: 0;
}


.mail-icon path {
  fill: #3f372f !important;
}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 600px) {

  header {
    padding: 1.25rem;
  }

  .logo img {
    width: 46px;
    height: 46px;
  }

  .header-links {
    gap: 1.15rem;
  }

  .header-links a {
    font-size: 0.95rem;
  }

  main {
    margin-top: 6vh;

    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 3rem;
  }
}
