:root {
  --navy: #071522;
  --navy-soft: #0d2030;
  --navy-card: rgba(13, 32, 48, 0.78);
  --ivory: #fbf7ee;
  --gold: #ead8a4;
  --gold-strong: #d8ba69;
  --muted: #aeb8bf;
  --line: rgba(234, 216, 164, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ivory);
  font-family: "Inter", system-ui, sans-serif;
  background:
    linear-gradient(rgba(7, 21, 34, 0.94), rgba(7, 21, 34, 0.98)),
    radial-gradient(circle at 50% 0%, #243746 0, var(--navy) 55%);
}

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

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: start center;
  overflow: hidden;
}

.page-shell::before {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 100% 6px;
  content: "";
  pointer-events: none;
}

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .11;
  pointer-events: none;
}

.ambient-one {
  top: -240px;
  left: calc(50% - 400px);
  background: var(--gold);
}

.ambient-two {
  right: calc(50% - 420px);
  bottom: -280px;
  background: #3e6a84;
}

.bio-card {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  padding: 26px 22px 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  color: var(--ivory);
  text-decoration: none;
}

.wordmark strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
}

.wordmark span {
  margin-top: 5px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.share-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ivory);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: .25s ease;
}

.share-button:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.share-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.profile {
  text-align: center;
}

.portrait-wrap {
  position: relative;
  width: 132px;
  margin: 0 auto 24px;
}

.portrait-ring {
  width: 132px;
  height: 132px;
  padding: 4px;
  background: linear-gradient(145deg, var(--gold), rgba(234,216,164,.12) 55%, var(--gold-strong));
  border-radius: 50%;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.portrait-ring img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  border: 4px solid var(--navy);
  border-radius: 50%;
}

.status-dot {
  position: absolute;
  right: 5px;
  bottom: 9px;
  width: 18px;
  height: 18px;
  background: #6abf85;
  border: 4px solid var(--navy);
  border-radius: 50%;
}

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

h1 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(39px, 10vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
}

.intro {
  max-width: 450px;
  margin: 15px auto 18px;
  color: #d0d7da;
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  line-height: 1.45;
}

.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trust-line i {
  width: 3px;
  height: 3px;
  margin: 0 10px;
  background: var(--gold);
  border-radius: 50%;
}

.links {
  display: grid;
  gap: 12px;
}

.link-card {
  display: grid;
  grid-template-columns: 48px 1fr 26px;
  align-items: center;
  min-height: 76px;
  padding: 12px 15px;
  color: var(--ivory);
  text-decoration: none;
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.link-card:hover {
  background: rgba(20, 44, 62, .9);
  border-color: rgba(234,216,164,.52);
  transform: translateY(-3px);
}

.link-primary {
  color: var(--navy);
  background: linear-gradient(125deg, #f0e2b7, var(--gold-strong));
  border-color: transparent;
}

.link-primary:hover {
  background: linear-gradient(125deg, #f8edcc, #e3c674);
  border-color: transparent;
}

.link-icon {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--gold);
  background: rgba(234,216,164,.08);
  border: 1px solid var(--line);
  border-radius: 12px;
  place-items: center;
}

.link-primary .link-icon {
  color: var(--navy);
  background: rgba(7,21,34,.08);
  border-color: rgba(7,21,34,.12);
}

.link-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.link-icon svg .fill-dot {
  fill: currentColor;
  stroke: none;
}

.link-card:nth-child(3) .link-icon svg {
  fill: currentColor;
  stroke: none;
}

.link-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.link-copy strong {
  font-size: 14px;
  font-weight: 600;
}

.link-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-primary .link-copy small {
  color: rgba(7,21,34,.65);
}

.arrow {
  font-size: 18px;
  opacity: .7;
  transition: transform .25s ease;
}

.link-card:hover .arrow {
  transform: translate(2px, -2px);
}

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 22px;
  padding: 17px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signature-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--navy);
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  background: var(--gold);
  border-radius: 50%;
  place-items: center;
}

.signature p {
  margin: 0;
  color: #cbd3d7;
  font-family: "Newsreader", Georgia, serif;
  font-size: 15px;
  line-height: 1.35;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #82909a;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-dot {
  width: 3px;
  height: 3px;
  margin: 0 9px;
  background: var(--gold);
  border-radius: 50%;
}

.toast {
  position: fixed;
  z-index: 5;
  bottom: 24px;
  left: 50%;
  padding: 10px 16px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  background: var(--gold);
  border-radius: 30px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: .25s ease;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 700px) {
  .bio-card {
    margin: 28px 0;
    padding: 30px 42px 32px;
    background: rgba(5,16,26,.42);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 28px;
    box-shadow: 0 40px 90px rgba(0,0,0,.28);
    backdrop-filter: blur(4px);
  }
}

@media (max-width: 390px) {
  .bio-card {
    padding-inline: 16px;
  }

  .trust-line {
    letter-spacing: .08em;
  }
}

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