/* ─────────────────────────────────────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CUSTOM PROPERTIES
───────────────────────────────────────────────────────────────────────────── */
:root {
  --blue:        #283BD1;
  --cream:       #F6F3EC;
  --white:       #FFFFFF;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Geist', system-ui, sans-serif;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BODY
   Drop assets/BACKGROUND ELEMENT.png into the assets/ folder — it's used here.
───────────────────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  /* Texture overlay — supply assets/BACKGROUND ELEMENT.png */
  background-image: url('assets/BACKGROUND ELEMENT.png');
  background-repeat: repeat;
  background-size: auto;
  color: var(--blue);
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────────────────────────── */
.site-header {
  text-align: center;
  padding: 56px 24px 48px;
}

.wordmark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 60px);
  color: var(--blue);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.tm {
  font-size: 0.45em;
  vertical-align: super;
  line-height: 0;
}

.subheading {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ─────────────────────────────────────────────────────────────────────────────
   LETTER CARD
───────────────────────────────────────────────────────────────────────────── */
.card-wrapper {
  display: flex;
  justify-content: center;
  padding: 0 24px 64px;
}

.letter-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(40, 59, 209, 0.15);
  box-shadow: 0 2px 24px rgba(40, 59, 209, 0.06);
  padding: 36px 44px 44px;
  width: 100%;
  max-width: 680px;
}

/* Meta rows (To / Subject) */
.meta-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.4;
}

.meta-label {
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--blue);
}

.meta-value {
  font-weight: 700;
  color: var(--blue);
}

.divider {
  border: none;
  border-top: 1px solid rgba(40, 59, 209, 0.25);
  margin: 0;
}

/* Body copy */
.body-copy {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.body-copy p {
  font-size: 15.5px;
  line-height: 1.72;
  font-weight: 400;
  color: var(--blue);
}

.body-copy a {
  color: var(--blue);
  text-decoration: underline;
}

.body-copy a:hover {
  opacity: 0.75;
}

.about-heading {
  font-weight: 700 !important;
  margin-top: 8px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--blue);
  color: var(--white);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 40px 36px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-col--right {
  text-align: right;
}

.footer-wordmark,
.footer-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.footer-sub,
.footer-email {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--white);
  opacity: 0.9;
}

.footer-sub {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-email {
  font-weight: 400;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 40px 0 0;
}

/* Copyright bar — full-width strip outside the constrained footer-inner */
.copyright {
  background-color: var(--white);
  color: var(--blue);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 400;
  padding: 14px 24px;
  width: 100%;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .letter-card {
    padding: 28px 24px 32px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 28px;
  }

  .footer-col--right {
    text-align: left;
  }

  .footer-inner {
    padding: 44px 24px 32px;
  }

}
