@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --wall: #e2dfd9;
  --paper: #faf7f2;
  --ink: #1f1a17;
  --muted: rgba(31, 26, 23, 0.5);
  --line: rgba(31, 26, 23, 0.1);
  --accent: #ff2f2d;
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255, 255, 255, 0.34), transparent 58%),
    var(--wall);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.mobile-compose { display: none; }
@media (pointer: coarse) {
  .desktop-compose { display: none; }
  .mobile-compose { display: inline; }
}

.page {
  width: min(100% - 40px, 600px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 40px 24px;
}

.brand {
  align-self: flex-start;
  margin: 0 0 18px 4px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.card {
  padding: clamp(28px, 7vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: #fdfbf7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 5px rgba(31, 26, 23, 0.04),
    0 28px 60px -42px rgba(31, 26, 23, 0.38);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.14em;
}

h1 {
  margin: 9px 0 34px;
  font-size: clamp(32px, 8vw, 44px);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.details {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.name {
  margin: 12px 0 3px;
  font-size: 19px;
  font-weight: 540;
  letter-spacing: -0.035em;
}

.location {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.contact-label {
  color: var(--muted);
}

.contact a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 4px 0;
  color: var(--muted);
  font-size: 12px;
}

footer a {
  text-decoration: none;
}

@media (max-width: 420px) {
  .page {
    width: min(100% - 28px, 600px);
  }

  .card {
    border-radius: 20px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    animation: arrive 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes arrive {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
