:root {
  --bg: #4d242b;
  --surface: #2a0d12;
  --primary: #bf9763;
  --heading: #dfd3cd;
  --text: #d9cec8;
  --muted: #b09883;
  --accent: #5b6243;
  --line: rgba(191, 151, 99, 0.28);
  --shadow: 0 18px 45px rgba(24, 5, 9, 0.24);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(191, 151, 99, 0.12), transparent 32rem),
    radial-gradient(circle at 100% 48%, rgba(91, 98, 67, 0.16), transparent 27rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.012) 0 1px, transparent 1px 7px);
  content: "";
  opacity: 0.35;
  pointer-events: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(100%, 680px);
  min-height: 100vh;
  margin-inline: auto;
  padding: 54px 20px 32px;
}

.profile {
  text-align: center;
}

.avatar-wrap {
  position: relative;
  width: 112px;
  margin: 0 auto 28px;
}

.avatar {
  display: grid;
  width: 112px;
  height: 112px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(223, 211, 205, 0.18);
  border-radius: 50%;
  color: var(--primary);
  background:
    linear-gradient(145deg, rgba(191, 151, 99, 0.16), transparent 48%),
    var(--surface);
  box-shadow: 0 0 0 6px rgba(42, 13, 18, 0.27), var(--shadow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  letter-spacing: 0.05em;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.availability-dot {
  position: absolute;
  right: 5px;
  bottom: 7px;
  width: 20px;
  height: 20px;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 10vw, 3.65rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.positioning {
  max-width: 510px;
  margin: 20px auto 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.65;
}

.social-proof {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 39px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 13px 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--text);
  background: rgba(42, 13, 18, 0.92);
  box-shadow: 0 10px 28px rgba(31, 8, 12, 0.13);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--primary);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(191, 151, 99, 0.7);
  background: #321117;
  outline: none;
  transform: translateY(-2px);
}

.link-card:hover::before,
.link-card:focus-visible::before {
  opacity: 1;
}

.link-card.featured {
  min-height: 102px;
  border-color: rgba(191, 151, 99, 0.64);
  background:
    radial-gradient(circle at 93% 15%, rgba(191, 151, 99, 0.14), transparent 8rem),
    var(--surface);
}

.link-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(191, 151, 99, 0.28);
  border-radius: 13px;
  color: var(--primary);
  background: rgba(191, 151, 99, 0.08);
  font-size: 1.18rem;
}

.link-copy {
  min-width: 0;
}

.link-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.link-title {
  display: block;
  color: var(--heading);
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.3;
}

.link-description {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.link-arrow {
  color: var(--primary);
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.link-card:hover .link-arrow,
.link-card:focus-visible .link-arrow {
  transform: translateX(3px);
}

.link-card.is-pending {
  cursor: default;
}

.link-card.is-pending .link-arrow {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

footer {
  margin-top: 43px;
  text-align: center;
}

footer p {
  margin: 0;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}

footer .footer-note,
.copyright {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
}

.copyright {
  margin-top: 15px;
  opacity: 0.7;
}

@media (min-width: 640px) {
  .page-shell {
    padding-top: 70px;
  }

  .link-card {
    padding-inline: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
