:root {
  color-scheme: light;
  --ink: #271b21;
  --muted: #75656c;
  --paper: #fff7f9;
  --soft: #ffecef;
  --soft-2: #f8ddd9;
  --line: #ebcfd5;
  --accent: #c05b7a;
  --accent-dark: #9d3f60;
  --warm: #d79a88;
  --cream: #fffaf4;
  --shadow: 0 24px 80px rgb(94 45 60 / 14%);
  --max: min(1480px, 96vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 3%, rgb(255 226 233 / 84%), transparent 34rem),
    linear-gradient(180deg, #fff9fb 0%, #fff1f5 46%, #fffaf6 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-140%);
  background: var(--ink);
  color: white;
  padding: .5rem .75rem;
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(.75rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: none;
  margin: 0;
  padding: 1.1rem clamp(1rem, 3vw, 2rem);
  background: rgb(255 247 249 / 86%);
  border-bottom: 1px solid rgb(235 207 213 / 70%);
  backdrop-filter: blur(18px);
}

.brand {
  grid-column: 2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
}

.social-nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: .75rem;
  align-items: center;
}

.social-nav a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--ink);
  border-radius: 50%;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.social-nav a:hover {
  background: var(--soft);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.social-nav svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.hero,
.profile-section,
.links-section,
.contact-section {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(2rem, 6vw, 4.75rem);
  align-items: center;
  min-height: calc(100vh - 4.6rem);
  padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 7vw, 6rem);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 6% 0 11% 18%;
  z-index: -1;
  background: linear-gradient(135deg, rgb(255 230 237 / 88%), rgb(255 250 244 / 72%));
  border-radius: 0;
  box-shadow: var(--shadow);
}

.hero-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 55% center;
  border: 12px solid rgb(255 255 255 / 70%);
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 34rem;
  padding: clamp(1rem, 2vw, 1.8rem);
}

h1,
h2 {
  margin: 0 0 1.25rem;
  line-height: 1.08;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 6.5rem);
  color: #3b222c;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  color: #3b222c;
}

p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  margin-top: 1rem;
  padding: .65rem 1.35rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #d77e95);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 12px 30px rgb(192 91 122 / 24%);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 16px 38px rgb(157 63 96 / 28%);
  transform: translateY(-2px);
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(340px, .92fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7.5rem);
  border-top: 1px solid var(--line);
  position: relative;
}

.profile-section::before {
  content: "";
  position: absolute;
  inset: clamp(1.8rem, 4vw, 3.5rem) 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(255 238 242 / 60%), rgb(255 250 244 / 26%));
  box-shadow: none;
}

.profile-section:nth-of-type(3)::before {
  background: linear-gradient(90deg, rgb(255 250 244 / 18%), rgb(255 232 238 / 64%));
}

.profile-section.reverse .section-image {
  order: 2;
}

.section-image img {
  max-height: 720px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 0;
  box-shadow: var(--shadow);
}

#education .section-image img {
  aspect-ratio: 5 / 4;
  object-position: 36% center;
}

#care .section-image img {
  object-position: center 38%;
}

#about .section-image img {
  object-position: center;
}

.section-copy {
  max-width: 39rem;
  padding: clamp(.25rem, 2vw, 1rem);
}

.section-copy strong {
  font-weight: 700;
}

.large {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.35;
}

.links-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgb(255 236 239 / 58%));
}

.feature-link {
  position: relative;
  min-height: clamp(250px, 32vw, 420px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: white;
  text-decoration: none;
  background: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(120 54 74 / 6%), rgb(53 25 35 / 70%)),
    linear-gradient(135deg, rgb(192 91 122 / 34%), transparent 58%);
}

.feature-link img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.feature-link:nth-child(1) img {
  object-position: center;
}

.feature-link:nth-child(2) img {
  object-position: 43% center;
}

.feature-link:hover img {
  transform: scale(1.035);
}

.feature-link:hover {
  box-shadow: 0 30px 90px rgb(94 45 60 / 22%);
  transform: translateY(-4px);
}

.feature-link span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--cream);
}

.contact-section h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.contact-section p {
  margin: 0;
}

.contact-section a {
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  color: var(--accent-dark);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .85s ease var(--reveal-delay, 0ms),
    transform .85s ease var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    grid-column: 1;
  }

  .social-nav {
    grid-column: 2;
  }

  .hero,
  .profile-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: .75rem;
  }

  .hero::before,
  .profile-section::before {
    inset: 1.25rem 0;
  }

  .hero-image img {
    max-height: 72vh;
    object-position: center;
  }

  .profile-section.reverse .section-image {
    order: 0;
  }

  .links-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-link {
    min-height: 310px;
  }

  .contact-section {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .social-nav {
    gap: .25rem;
  }

  .social-nav a {
    width: 1.75rem;
    height: 1.75rem;
  }

  .hero-copy,
  .section-copy {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
