/* Minimal, typography-first banner layout */
:root {
  --bg: #f6f3ea;
  --text: #111111;
  --muted: rgba(17, 17, 17, 0.72);
  --muted2: rgba(17, 17, 17, 0.6);
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  /* foreverpeople.studio: column flex + padding pushes footer to bottom */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

.page {
  flex-grow: 1;
  width: 100%;
}

.card {
  max-width: 820px;
}

.title {
  /* foreverpeople.studio h1 margin */
  margin: 0 0 48px 0;
  /* Use a standard weight to avoid font-synthesis artifacts on some systems */
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(44px, 7vw, 76px);
  text-rendering: optimizeLegibility;
}

.stack {
  display: flex;
  flex-direction: column;
  /* foreverpeople.studio .content gap between major blocks */
  gap: 42px;
}

.text-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Space after first body paragraph; em scales with .body clamp() font size */
.text-group .body + .body {
  margin-top: 1.45em;
}

.lead {
  margin: 0;
  font-size: clamp(18px, 2.25vw, 26px);
  line-height: 1.25;
  font-weight: 400;
  color: var(--text);
}

.body {
  margin: 0;
  font-size: clamp(16px, 1.75vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 68ch;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contactLabel {
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--muted2);
  margin-bottom: 0;
}

.email {
  /* flex column stretches items by default; keep underline to text width */
  align-self: flex-start;
  display: inline-block;
  font-size: clamp(16px, 1.75vw, 20px);
  line-height: 1.35;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
  padding-bottom: 2px;
}

.email:focus-visible,
.email:hover {
  border-bottom-color: rgba(17, 17, 17, 0.65);
}

.footer {
  width: 100%;
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted2);
}

.footer p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .email {
    transition: border-color 160ms ease;
  }
}
