:root {
  --page: #14120b;
  --page-deep: #14120b;
  --ink: #f4eee4;
  --muted: #b8b1a8;
  --soft: rgba(244, 238, 228, 0.14);
  --soft-strong: rgba(244, 238, 228, 0.28);
  --clay: #9d8a78;
  --moss: #8b9085;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0;
  background: var(--page);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23grain)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.corner-status {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: rgba(244, 238, 228, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.status-location {
  width: 100%;
  color: rgba(244, 238, 228, 0.92);
  font-size: 0.78rem;
  text-align: center;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
}

.status-divider {
  width: 1px;
  height: 15px;
  background: rgba(244, 238, 228, 0.3);
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  align-items: center;
  width: min(420px, calc(100vw - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: 100%;
  text-align: center;
}

.profile-photo,
.profile-fallback {
  width: min(100%, 132px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 238, 228, 0.18);
  border-radius: 999px;
}

.profile-photo {
  object-fit: cover;
  object-position: 85% center;
  background: #33312f;
}

.profile-fallback {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1;
  background:
    linear-gradient(135deg, rgba(157, 138, 120, 0.96), rgba(86, 86, 80, 0.95)),
    #6f6a62;
}

.intro-copy {
  display: grid;
  justify-items: center;
  max-width: 460px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 700;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.social-link,
.connect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.social-link {
  width: 36px;
  height: 36px;
  color: rgba(244, 238, 228, 0.9);
  font-size: 1.08rem;
  background: rgba(244, 238, 228, 0.045);
  border: 1px solid var(--soft);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--page-deep);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.connect-button {
  gap: 8px;
  min-width: 112px;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 17px;
  color: var(--page-deep);
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.connect-button:hover,
.connect-button:focus-visible {
  color: var(--ink);
  background: var(--clay);
  border-color: var(--clay);
  transform: translateY(-2px);
}

:focus-visible {
  outline: 3px solid rgba(177, 120, 93, 0.46);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 40px, 360px);
    padding: 40px 0;
  }

  .hero {
    gap: 22px;
  }

  .profile-photo,
  .profile-fallback {
    width: min(34vw, 132px);
  }

}

@media (max-width: 420px) {
  .corner-status {
    font-size: 0.74rem;
  }

  .page-shell {
    width: min(100% - 28px, 520px);
  }

  .social-link {
    width: 34px;
    height: 34px;
  }
}
