:root {
  color-scheme: light;
  --ink: #20282d;
  --muted: #65747b;
  --line: rgba(32, 40, 45, .12);
  --card: rgba(255, 255, 255, .72);
  --button: rgba(255, 255, 255, .82);
  --shadow: 0 28px 70px rgba(68, 93, 108, .18);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: #e8f1f8; }

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at 13% 22%, rgba(245, 198, 168, .55) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 18%, rgba(245, 198, 168, .42) 0 1px, transparent 2px),
    linear-gradient(145deg, #fffdfb 0%, #e8f1f8 53%, #d5e6f2 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: rgba(245, 198, 168, .72);
}

body::before { top: 30%; left: 7%; }
body::after { right: 7%; bottom: 22%; }

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px 14px;
}

.profile-card {
  width: min(100%, 420px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-media { position: relative; overflow: hidden; }

.hero-image {
  aspect-ratio: 4 / 5;
  background: url("assets/ava-grand.jpg") center 28% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(22px, 7vw, 34px);
  color: #fff;
  background: linear-gradient(180deg, rgba(28, 38, 42, 0) 35%, rgba(28, 38, 42, .82) 100%);
}

.hero-copy { width: 100%; text-align: left; }

.hero-eyebrow {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, .78);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 11vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}

.hero-intro {
  max-width: 260px;
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, .88);
  font-size: .94rem;
  line-height: 1.35;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 16px 0 18px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 28px rgba(20, 29, 33, .18);
  font-size: 1rem;
  font-weight: 600;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  outline: none;
  background: #fff;
  box-shadow: 0 15px 30px rgba(20, 29, 33, .24);
  transform: translateY(-2px);
}

.hero-cta .button-arrow { color: #6f9cb1; }

.card-content {
  padding: 23px 20px 25px;
  text-align: center;
}

.link-list { display: grid; gap: 10px; }

.link-button {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  min-height: 58px;
  padding: 0 14px 0 12px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--button);
  box-shadow: 0 8px 18px rgba(68, 93, 108, .06);
  font-size: 1rem;
  font-weight: 500;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.link-button:hover,
.link-button:focus-visible {
  outline: none;
  background: #fff;
  box-shadow: 0 12px 24px rgba(68, 93, 108, .12);
  transform: translateY(-2px);
}

.button-icon,
.button-arrow,
.social-link { display: grid; place-items: center; }

.button-icon {
  width: 30px;
  height: 30px;
  color: #77a8be;
  border-radius: 10px;
  background: #edf6fa;
}

.button-icon svg { width: 17px; height: 17px; }
.button-label { text-align: center; }
.button-arrow { color: #8e9da3; font-size: 1.15rem; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  width: 42px;
  height: 42px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transition: transform .2s ease, background-color .2s ease;
}

.social-link:hover,
.social-link:focus-visible { outline: none; background: #fff; transform: translateY(-2px); }
.social-link svg { width: 19px; height: 19px; }
.footer-note { margin: 17px 0 0; color: #88969b; font-size: .78rem; }

@media (min-width: 700px) {
  .page-shell { padding: 40px 24px; }
  .profile-card { width: min(100%, 450px); }
}

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