/* ------------------------------------------------
   Cartouche — cartouche.press
   ------------------------------------------------ */

:root {
  --bone: #EDE6D6;
  --forest: #1F3B2D;
}

/* Reset */

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

/* Base — body centers the entire composition (content + link) as one unified block */

html, body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 0;
  background-color: var(--bone);
  color: var(--forest);
  font-family: 'Fraunces', serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Main — content group (wordmark + tagline + descriptor) */

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Wordmark — pull tagline up to compensate for the PNG's baked-in whitespace */

.wordmark {
  display: block;
  width: 70vw;
  max-width: 280px;
  height: auto;
}

/* Tagline — slightly more present than the descriptor */

.tagline {
  margin-top: 1.25rem; /* 20px */
  font-size: 0.875rem; /* 14px — smaller on mobile so the wordmark dominates */
  letter-spacing: 0.02em;
}

/* Descriptor — quieter, smaller, sits close to the tagline as one composition */

.descriptor {
  margin-top: 0.75rem; /* 12px */
  font-size: 0.75rem; /* 12px */
  letter-spacing: 0.02em;
  opacity: 0.65;
}

/* Footer — visually grouped with the centered content, not pinned to viewport bottom */

footer {
  margin-top: 80px;
  text-align: center;
}

footer a {
  color: var(--forest);
  font-size: 0.6875rem; /* 11px — smallest in the mobile hierarchy */
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 4px;
  opacity: 0.6;
}

footer a:hover {
  opacity: 1;
}

/* Desktop */

@media (min-width: 768px) {
  body {
    padding: 64px 24px;
  }

  .wordmark {
    max-width: 340px;
  }

  .tagline {
    margin-top: 1.25rem; /* 20px */
    font-size: 1.125rem; /* 18px */
  }

  .descriptor {
    margin-top: 1.25rem; /* 20px */
    font-size: 0.875rem; /* 14px */
  }

  footer {
    margin-top: 100px;
  }

  footer a {
    font-size: 0.8125rem;
  }
}
