:root {
  --bg: #2a2a28;          /* sampled from logo.jpg so the wordmark blends in */
  --cream: #e8e6de;       /* matches the logo lettering */
  --body: #e8e6debf;      /* cream @ ~75% — softer than the heading, still AA */
  --green: #71b543;       /* brand accent, used exactly once */

  /* ponytail: system stack — zero requests, never breaks.
     Brand font is Poppins; add a Google Fonts <link> and prepend it here if wanted. */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1.5rem, 6vw, 2.5rem);
  text-align: center;
}

/* logo.jpg is an opaque JPEG, tightly cropped — the final S and the bottom line
   touch the edges. Fading the edges dissolves the crop into the background so
   the wordmark reads as floating rather than pasted on. */
.logo {
  width: 100%;
  max-width: 23.75rem;
  height: auto;
  mask-image:
    linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, #000 55%, transparent);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, #000 55%, transparent);
  -webkit-mask-composite: source-in;
}

h1 {
  margin: clamp(1.5rem, 5vw, 2.5rem) 0 0;
  color: var(--cream);
  font-size: clamp(1.375rem, 1.1rem + 1.4vw, 1.875rem);
  font-weight: 400;
  letter-spacing: 0.32em;  /* echoes the spaced lettering in the logo */
  text-transform: uppercase;
  text-indent: 0.32em;     /* offsets the trailing letter-space so it stays optically centred */
}

hr {
  width: 3rem;
  height: 1px;
  margin: clamp(1.5rem, 4vw, 2rem) 0 clamp(2rem, 6vw, 3rem);
  border: 0;
  background: var(--green);
}

p { margin: 0 0 1.5rem; }

.signoff {
  margin-top: clamp(1rem, 4vw, 2rem);
}

.signoff p:last-child { margin-bottom: 0; }

.team {
  margin-top: 2rem;
  color: var(--cream);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: rise 1.1s ease-out both;
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(0.75rem); }
  }
}
