:root {
  --green: #70ad45;
  --charcoal: #343434;
  --paper: #f7f7f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

.profile {
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  min-height: 100svh;
  overflow: hidden;
}

.photo-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 76px);
  min-height: 100svh;
  background: var(--charcoal);
}

.photo-panel::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 7px;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.82),
    rgba(255, 255, 255, 0.24)
  );
}

.photo-panel img {
  width: min(100%, 340px);
  height: auto;
  max-height: 72svh;
  display: block;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.content-panel {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--charcoal);
}

.content-panel::before {
  position: absolute;
  top: clamp(30px, 9vh, 92px);
  right: 0;
  width: 70%;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.28);
}

.content {
  position: relative;
  width: 100%;
  padding: clamp(48px, 8vw, 130px);
}

.content::before {
  position: absolute;
  z-index: 0;
  top: -25%;
  right: 0;
  bottom: -25%;
  left: 0;
  content: "";
  background: var(--green);
  transform: translateX(-13%);
}

.content > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 clamp(26px, 4vh, 48px);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.15vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.roles {
  margin: 0;
  padding: 0;
  list-style: none;
}

.roles li {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  font-size: clamp(1.15rem, 2.15vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.roles li + li {
  margin-top: 0.17em;
}

.roles li::before {
  width: 0.18em;
  height: 0.18em;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.95);
  content: "";
}

.contact {
  margin-top: clamp(38px, 7vh, 76px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-family: Georgia, "Times New Roman", serif;
}

.contact h2 {
  margin: 0 0 0.65em;
  font-size: clamp(1.35rem, 2.15vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact li {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.15rem, 2.15vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.contact li::before {
  width: 0.18em;
  height: 0.18em;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.95);
  content: "";
}

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

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .profile {
    grid-template-columns: 1fr;
    grid-template-rows: 43svh 1fr;
  }

  .photo-panel {
    min-height: 0;
    padding: 24px;
  }

  .photo-panel::after {
    inset: auto 0 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.2)
    );
  }

  .photo-panel img {
    width: auto;
    height: min(35svh, 300px);
    max-height: none;
  }

  .content-panel {
    align-items: stretch;
  }

  .content-panel::before {
    display: none;
  }

  .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 28px 46px;
  }

  .content::before {
    top: 0;
    bottom: 0;
    transform: none;
  }

  .roles li {
    font-size: clamp(1.1rem, 4.8vw, 1.5rem);
    letter-spacing: -0.035em;
  }

  .contact {
    margin-top: 36px;
  }

  .eyebrow,
  .contact h2 {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }

  .contact li {
    font-size: clamp(1.1rem, 4.8vw, 1.5rem);
  }
}

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