:root {
  --ink: #33242f;
  --muted: #755f6d;
  --paper: rgba(255, 252, 248, .72);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #f8cedd; }
body { margin: 0; color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }

main {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 22px 14px 30px;
  background:
    radial-gradient(circle at 10% 8%, rgba(255,255,255,.86) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 88% 14%, rgba(255,255,255,.72) 0 1px, transparent 2px),
    linear-gradient(155deg, #f7bdd3 0%, #ffdda2 32%, #efd2f3 64%, #bfe5f7 100%);
  background-size: 110px 110px, 145px 145px, auto;
}

.colour-wash { position: absolute; border-radius: 999px; opacity: .45; filter: blur(3px); pointer-events: none; }
.wash-one { width: 260px; height: 260px; left: -200px; top: 8%; background: #ff5c9d; }
.wash-two { width: 320px; height: 320px; right: -240px; bottom: 8%; background: #57b9eb; }

.link-hub {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  margin: 0 auto;
  padding: 23px 15px 18px;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(73,42,62,.13);
  backdrop-filter: blur(15px);
}

.profile { position: relative; padding: 3px 7px 21px; text-align: center; }
.monogram {
  width: 64px;
  height: 64px;
  margin: 0 auto 11px;
  display: grid;
  place-items: center;
  color: #a54770;
  background: linear-gradient(145deg, #fff3aa, #ffb6d3);
  border: 2px solid rgba(255,255,255,.88);
  border-radius: 45% 55% 44% 56% / 52% 43% 57% 48%;
  box-shadow: 0 10px 25px rgba(86,47,71,.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-style: italic;
  transform: rotate(-4deg);
}
.eyebrow { margin: 0 0 3px; color: #8a6578; font-size: 8px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 12vw, 55px); font-weight: 500; letter-spacing: -.07em; line-height: .98; }
h1 span { display: inline-block; margin-left: 4px; color: #dd4984; font-size: .47em; vertical-align: top; transform: rotate(8deg); }
.bio { max-width: 350px; margin: 8px auto 0; color: #685161; font-family: Georgia, "Times New Roman", serif; font-size: 13px; line-height: 1.4; }
.tiny-doodles { position: absolute; right: 6px; top: 4px; display: grid; gap: 1px; font-size: 13px; }
.tiny-doodles span:nth-child(1) { color: #db3f7e; transform: rotate(10deg); }
.tiny-doodles span:nth-child(2) { color: #5fa770; transform: rotate(-9deg); }
.tiny-doodles span:nth-child(3) { color: #6d6bb2; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 0 5px 10px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-style: italic; font-weight: 500; letter-spacing: -.035em; }
.section-heading > span { color: #88697b; font-size: 7px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }

.link-list { display: grid; gap: 9px; }
.link-card {
  min-height: 68px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 30px;
  align-items: center;
  gap: 11px;
  padding: 9px 12px 9px 9px;
  border: 1.5px solid rgba(255,255,255,.88);
  border-radius: 20px;
  box-shadow: 0 9px 22px rgba(72,45,62,.08);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.link-card.amazon { color: #fff; background: #d9577c; border-color: rgba(255,255,255,.5); }
.link-card.rose { background: rgba(255,190,215,.88); }
.link-card.blue { background: rgba(185,228,252,.9); }
.link-card.mint { background: rgba(196,236,205,.88); }
.link-card.lilac { background: rgba(219,198,250,.88); }
.link-card.featured { min-height: 78px; box-shadow: 0 13px 28px rgba(156,63,96,.2); }
.link-mark { width: 47px; height: 47px; display: grid; place-items: center; color: #914864; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.86); border-radius: 15px; font-family: Georgia, serif; font-size: 21px; font-weight: 600; transform: rotate(-3deg); }
.featured .link-mark { color: #a84568; background: #fff5bb; }
.link-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; text-align: left; }
.link-copy strong { overflow-wrap: anywhere; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.1; }
.link-copy small { overflow-wrap: anywhere; color: #6f5968; font-size: 9px; line-height: 1.25; }
.featured .link-copy strong { font-size: 16px; }
.featured .link-copy small { color: rgba(255,255,255,.82); }
.link-arrow { width: 29px; height: 29px; display: grid; place-items: center; color: #5e4053; background: rgba(255,255,255,.58); border-radius: 999px; font-size: 13px; }
.featured .link-arrow { color: #a84164; background: #fff; }
.link-card:hover, .link-card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; transform: translateY(-2px) rotate(-.25deg); box-shadow: 0 14px 29px rgba(72,45,62,.14); filter: saturate(1.04); }

.more-section { margin-top: 21px; }
.compact-heading h2 { font-size: 18px; }
.social-section { margin-top: 22px; padding: 17px 10px 10px; border-top: 1px solid rgba(103,69,90,.13); text-align: center; }
.social-section h2 { margin-bottom: 12px; font-size: 17px; }
.socials { display: flex; justify-content: center; gap: 12px; }
.socials a { position: relative; width: 45px; height: 45px; display: grid; place-items: center; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.86); border-radius: 999px; box-shadow: 0 7px 17px rgba(71,44,62,.07); transition: transform .18s ease, box-shadow .18s ease; }
.socials a:nth-child(1) { background: #ffc1d7; }
.socials a:nth-child(2) { background: #ffeca5; }
.socials a:nth-child(3) { background: #bde7fd; }
.socials a:nth-child(4) { background: #c9efcf; }
.socials svg { width: 21px; height: 21px; color: #59374c; }
.socials a:nth-child(-n+2) svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials a:nth-child(-n+2) .dot { fill: currentColor; stroke: none; }
.socials a:nth-child(n+3) svg { fill: currentColor; stroke: none; }
.socials small { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); color: #75596a; font-size: 7px; font-weight: 800; white-space: nowrap; }
.socials a:hover, .socials a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; transform: translateY(-3px) rotate(3deg); box-shadow: 0 11px 22px rgba(71,44,62,.12); }

footer { padding: 26px 8px 0; color: #765e6d; text-align: center; }
footer p { max-width: 380px; margin: 0 auto 9px; font-size: 8px; line-height: 1.5; }
footer span { font-family: Georgia, serif; font-size: 10px; font-style: italic; }

@media (min-width: 700px) {
  main { padding-top: 32px; padding-bottom: 40px; }
  .link-hub { padding: 27px 20px 21px; }
}

@media (max-width: 380px) {
  main { padding: 10px 8px 20px; }
  .link-hub { padding: 20px 10px 16px; border-radius: 26px; }
  .profile { padding-bottom: 18px; }
  .monogram { width: 58px; height: 58px; font-size: 28px; }
  .bio { font-size: 12px; }
  .section-heading > span { font-size: 6px; }
  .link-card { grid-template-columns: 45px minmax(0,1fr) 28px; gap: 8px; padding-left: 7px; padding-right: 9px; }
  .link-mark { width: 44px; height: 44px; border-radius: 14px; }
  .link-copy strong { font-size: 14px; }
  .featured .link-copy strong { font-size: 15px; }
  .socials { gap: 9px; }
  .socials a { width: 43px; height: 43px; }
  .socials small { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .link-card, .socials a { transition: none; }
}
