@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Prata&display=swap");

:root {
  --paper: #e9dfd2;
  --card: #f8f3ec;
  --ink: #263a38;
  --muted: #696f6b;
  --sage: #d2dfd5;
  --sage-dark: #28635d;
  --petrol: #1f514d;
  --sand: #b9957c;
  --line: rgba(38, 58, 56, .15);
  --serif: "Prata", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(44, 105, 98, .22), transparent 31%),
    radial-gradient(circle at 92% 92%, rgba(185, 149, 124, .22), transparent 28%),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.45;
}

.page {
  min-height: 100svh;
  padding: clamp(18px, 4vh, 42px) 20px;
  display: grid;
  place-items: center;
}

.card {
  width: min(920px, 100%);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(248, 243, 236, .94);
  box-shadow: 0 24px 80px rgba(31, 81, 77, .12);
}

.profile {
  min-height: 172px;
  position: relative;
  display: grid;
  grid-template-columns: 172px 1fr;
  align-items: center;
  gap: 34px;
  overflow: hidden;
}

.portrait {
  width: 172px;
  height: 172px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 43%;
  filter: saturate(.88);
}

.role,
.approach,
h1,
h2,
p { margin-top: 0; }

.role {
  margin-bottom: 8px;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.035em;
}

.approach {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.identity {
  position: relative;
  z-index: 2;
  padding-right: 210px;
}

.botanical-profile {
  width: 270px;
  height: 188px;
  position: absolute;
  z-index: 1;
  right: -10px;
  top: -9px;
  object-fit: cover;
  object-position: right top;
  opacity: 1;
  pointer-events: none;
}

h2 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.requests {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.requests ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.requests li {
  position: relative;
  padding-left: 17px;
}

.requests li::before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  left: 0;
  top: .55em;
  border-radius: 50%;
  background: var(--sand);
}

.facts {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(135deg, #d7e4d9, #c8d9cc);
}

.facts div {
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.facts div + div { border-left: 1px solid rgba(38, 54, 47, .12); }
.facts strong { font-size: 15px; }
.facts span { color: var(--muted); font-size: 11px; }

.education {
  margin-top: 20px;
  border-bottom: 1px solid var(--line);
}

.education summary {
  padding: 7px 34px 14px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}

.education summary::-webkit-details-marker { display: none; }
.education summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 1px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 25px;
}
.education[open] summary::after { content: "−"; }
.education ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
}
.education li + li { margin-top: 9px; }
.education p { color: var(--muted); font-size: 12px; }

.faq {
  margin-top: 20px;
  border-bottom: 1px solid var(--line);
}

.faq h2 {
  margin-bottom: 0;
  padding: 7px 0 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  padding: 10px 30px 10px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 4px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 22px;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  max-width: 690px;
  margin: 0 28px 12px 0;
  color: var(--muted);
  font-size: 11px;
}

.contact {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 26px;
}

.contact h2 { margin-bottom: 5px; }
.contact p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.actions { display: grid; gap: 8px; }
.actions a {
  min-height: 46px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.actions a:hover { transform: translateY(-1px); }
.primary { color: #fff; background: var(--petrol); }
.primary:hover { background: var(--sage-dark); }
.secondary { border: 1px solid var(--line); color: var(--ink); background: transparent; }

footer {
  margin-top: 24px;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
footer a { color: inherit; }

@media (max-width: 650px) {
  .page { padding: 12px; place-items: start center; }
  .card { padding: 22px 20px; border-radius: 22px; }
  .profile { grid-template-columns: 104px 1fr; gap: 19px; }
  .portrait { width: 104px; height: 132px; border-radius: 52px; }
  .identity { padding-right: 0; }
  .botanical-profile {
    width: 132px;
    height: 105px;
    right: -8px;
    top: -7px;
    opacity: .7;
  }
  h1 { font-size: clamp(29px, 10vw, 40px); }
  .role { margin-bottom: 5px; font-size: 9px; }
  .approach { font-size: 12px; }
  .requests { margin-top: 22px; padding-top: 19px; }
  .requests ul { grid-template-columns: 1fr; gap: 6px; font-size: 12px; }
  .facts { margin-top: 18px; }
  .facts div { padding: 12px 5px; }
  .facts strong { font-size: 12px; }
  .facts span { font-size: 9px; }
  .contact { margin-top: 20px; grid-template-columns: 1fr; gap: 14px; }
  .faq { margin-top: 17px; }
  .faq summary { padding-top: 9px; padding-bottom: 9px; }
  .actions { grid-template-columns: 1fr 1fr; }
  .actions a { min-height: 42px; padding: 0 11px; font-size: 11px; }
  footer { margin-top: 20px; flex-direction: column; gap: 3px; }
}

@media (max-width: 380px) {
  .profile { grid-template-columns: 88px 1fr; }
  .portrait { width: 88px; height: 116px; }
  .actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
