:root { color-scheme: only light; }
* { box-sizing: border-box; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #4d5c98;
  forced-color-adjust: none;
  color-adjust: exact;
  -webkit-color-adjust: exact;
  background-color: #fbfaff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .76), rgba(248, 249, 255, .82)),
    url("images/about-bg.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.about-page {
  display: flex;
  color-scheme: light;
  min-height: 100svh;
  max-width: 76rem;
  flex-direction: column;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 6vw, 6rem) clamp(1.25rem, 3vw, 2.5rem);
}
.about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.about-content {
  display: grid;
  grid-template-columns: minmax(0, 42rem) minmax(14rem, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  margin-top: clamp(.15rem, .8vh, .6rem);
  align-items: start;
}
.about-portrait {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: flex-end;
  margin: 0;
}
@media (min-width: 801px) {
  .about-portrait { padding-top: clamp(3.2rem, 7vh, 5.2rem); }
}
.about-portrait img {
  display: block;
  width: clamp(14rem, 22vw, 24rem);
  max-width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 1.25rem 3rem rgba(87, 92, 154, .14);
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.about-intro {
  display: flex;
  flex: 0 0 auto;
  min-height: 0;
  width: min(100%, 42rem);
  max-width: 42rem;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
}
.eyebrow {
  margin: 0 0 1rem;
  color: #ee91b9;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  max-width: 40rem;
  margin: 0;
  color: #4d5c98;
  font-size: clamp(1.55rem, 1.55vw, 1.95rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.3;
  white-space: nowrap;
}
.about-intro > .eyebrow {
  margin-bottom: .9rem;
  font-size: clamp(1.5rem, 1.85vw, 2.1rem);
}
.about-copy {
  max-width: 42rem;
  margin: 1.45rem 0 0;
  color: #52618f;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 450;
  line-height: 1.95;
}
.about-contact {
  display: grid;
  grid-template-columns: minmax(12rem, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
  margin-top: clamp(1.5rem, 3.2vh, 2.7rem);
  padding-top: clamp(1.25rem, 3vh, 2.5rem);
  border-top: 1px solid rgba(126, 158, 238, .34);
}
.developer-info h2 {
  margin: 0;
  color: #52629d;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
}
.developer-info h2 span { color: #8b96c2; font-weight: 400; }
.contact-list { display: grid; gap: .65rem; }
.contact-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .75rem;
  color: #6979ad;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-item:hover { color: #ee91b9; }
.contact-item svg {
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.contact-item svg path[fill="currentColor"],
.contact-item svg circle[fill="currentColor"] { fill: currentColor; stroke: none; }
@media (max-width: 800px) {
  .about-content { display: block; }
  .about-portrait { display: none; }
}
@media (max-width: 700px) {
  body { background-position: center top; background-attachment: scroll; }
  .about-page { padding-top: 0; }
  .about-content { display: block; margin-top: 0; }
  .about-portrait { display: none; }
  .about-intro {
    display: block;
    flex: initial;
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 0;
    width: 100%;
  }
  h1 {
    max-width: 44rem;
    font-size: clamp(1.6rem, 2.8vw, 2.75rem);
    white-space: normal;
  }
  .about-copy { line-height: 1.8; }
  .about-contact { grid-template-columns: 1fr; gap: 1.5rem; }
}
