:root {
  --pink: #ffd6e8;
  --pink-strong: #ff8ec4;
  --blue: #c9eeff;
  --blue-strong: #6fc8f2;
  --lilac: #dfd2ff;
  --lilac-strong: #a78bfa;
  --mint: #d9f8ec;
  --cream: #fffaf2;
  --ink: #40364a;
  --muted: #766a82;
  --line: rgba(119, 92, 145, 0.2);
  --white: rgba(255, 255, 255, 0.76);
  --shadow: 0 22px 60px rgba(134, 101, 160, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(120deg, rgba(255, 214, 232, 0.58), rgba(201, 238, 255, 0.48) 44%, rgba(223, 210, 255, 0.54)),
    var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.72) 0 2px, transparent 3px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px);
  background-size: 28px 28px, 72px 72px, 72px 72px;
  pointer-events: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 14px 7vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 250, 252, 0.76);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--blue), var(--lilac));
  color: #7a4e9b;
  box-shadow: 0 12px 30px rgba(255, 142, 196, 0.28);
}

.site-header nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a {
  min-width: 0;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--ink);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 54px 7vw 42px;
}

.hero-copy,
.portrait-panel,
.info-card,
.skill-list article,
.contact-section {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 44px;
}

.hero-copy::after {
  position: absolute;
  right: -42px;
  bottom: -36px;
  width: 210px;
  height: 124px;
  border: 1px solid rgba(167, 139, 250, 0.32);
  border-radius: 24px;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 214, 232, 0.82), rgba(201, 238, 255, 0.82)),
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(255, 255, 255, 0.45) 13px 16px);
  transform: rotate(-10deg);
}

.eyebrow {
  margin: 0 0 12px;
  color: #9f6bd5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-lead,
.section-heading p,
.skill-list p,
.contact-section p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-lead {
  max-width: 650px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--pink-strong), var(--lilac-strong));
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 142, 196, 0.28);
}

.secondary-button {
  border: 1px solid rgba(167, 139, 250, 0.32);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.primary-button:hover,
.secondary-button:hover,
.primary-button:focus-visible,
.secondary-button:focus-visible {
  transform: translateY(-2px);
}

.portrait-panel {
  position: relative;
  min-width: 0;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(255, 214, 232, 0.76), rgba(201, 238, 255, 0.66) 52%, rgba(223, 210, 255, 0.76)),
    rgba(255, 255, 255, 0.7);
}

.portrait-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 25%, transparent 25%) 0 0 / 34px 34px,
    linear-gradient(135deg, transparent 75%, rgba(255, 255, 255, 0.28) 75%) 0 0 / 34px 34px,
    rgba(255, 255, 255, 0.34);
}

.photo-frame {
  overflow: hidden;
  min-height: 520px;
}

.portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 45%;
}

.photo-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(255, 214, 232, 0.22));
  pointer-events: none;
}

.portrait-glass {
  position: relative;
  display: grid;
  place-items: center;
  width: min(260px, 72vw);
  aspect-ratio: 1;
  border: 12px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 214, 232, 0.76) 48%, rgba(201, 238, 255, 0.76));
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.22), 0 20px 55px rgba(120, 96, 150, 0.18);
}

.portrait-initial {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  font-weight: 800;
  color: #8f64bc;
}

.floating-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(105, 74, 130, 0.12);
}

.tag-pink {
  top: 26px;
  left: 22px;
  background: var(--pink);
}

.tag-blue {
  right: 22px;
  top: 50%;
  background: var(--blue);
}

.tag-lilac {
  bottom: 24px;
  left: 26px;
  background: var(--lilac);
}

.mini-bio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
}

.mini-bio strong,
.mini-bio span {
  display: block;
}

.mini-bio span {
  color: var(--muted);
}

.profile-section,
.skills-section {
  padding: 68px 7vw;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.centered {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.profile-grid,
.skill-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.skill-list article {
  min-width: 0;
  padding: 22px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #7b58ad;
  font-size: 14px;
  font-weight: 900;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.skill-list article:nth-child(1) {
  background: rgba(255, 214, 232, 0.7);
}

.skill-list article:nth-child(2) {
  background: rgba(201, 238, 255, 0.72);
}

.skill-list article:nth-child(3) {
  background: rgba(223, 210, 255, 0.72);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 36px 7vw 72px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 214, 232, 0.76), rgba(201, 238, 255, 0.72), rgba(223, 210, 255, 0.76)),
    rgba(255, 255, 255, 0.72);
}

.contact-section p {
  max-width: 640px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 7vw;
  border-top: 1px solid rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-weight: 800;
}

.site-footer a {
  color: #8f64bc;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 920px) {
  .hero-section,
  .profile-grid,
  .skill-list {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .site-header nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
    font-size: 13px;
  }

  .site-header nav a {
    text-align: center;
  }

  .hero-section,
  .profile-section,
  .skills-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-section {
    display: block;
    width: 100%;
  }

  .hero-copy,
  .portrait-panel {
    width: 100%;
    max-width: 100%;
  }

  .portrait-panel {
    margin-top: 18px;
  }

  .hero-copy {
    padding: 26px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .portrait-panel {
    padding: 18px;
  }

  .portrait-frame {
    min-height: 320px;
  }

  .photo-frame {
    min-height: 460px;
  }

  .portrait-glass {
    width: min(220px, 68vw);
  }

  .portrait-initial {
    font-size: 58px;
  }

  .tag-pink {
    left: 14px;
  }

  .tag-blue {
    right: 14px;
  }

  .mini-bio,
  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .contact-section {
    margin: 18px 18px 48px;
    padding: 24px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .brand {
    font-size: 20px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }
}
