.profile-layout {
  --profile-line:#f1ece533;
  --profile-muted:#c5bdb0;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);
  align-items:start; gap:clamp(30px,6vw,100px);
}
.profile-layout .h-section { font-weight:700; }
.profile-bio { max-width:31ch; margin-bottom:clamp(26px,5vw,58px); font-size:clamp(22px,2.65vw,40px); line-height:1.22; letter-spacing:-.035em; }
.profile-details {
  margin-top:12px;
  border:1px solid var(--profile-line); border-radius:16px;
  background:linear-gradient(135deg,#f1b49b11,#ffffff03 42%,#ffffff02);
}
.profile-details summary {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:clamp(14px,1.6vw,22px); cursor:pointer; list-style:none;
  font-size:clamp(17px,1.5vw,22px); font-weight:650; letter-spacing:-.025em;
  border-radius:inherit;
}
.profile-details summary::-webkit-details-marker { display:none; }
.profile-details summary::after {
  content:'+' / ''; display:grid; place-items:center; flex:none;
  width:32px; height:32px; border:1px solid var(--profile-line); border-radius:50%;
  color:#f1b49b; font-size:20px; line-height:1;
}
.profile-details[open] summary::after { content:'−' / ''; }
.profile-details-content { padding:0 clamp(14px,1.6vw,22px) clamp(14px,1.6vw,22px); }
.profile-details-content > p { color:var(--profile-muted); font-size:14px; }
.profile-projects {
  list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px; padding:0; margin-top:16px;
}
.profile-project {
  display:grid; align-content:start; width:100%; height:100%;
  overflow:hidden; border:1px solid #f1ece51c; border-radius:10px;
  background:#ffffff04; text-align:left;
  transition:border-color .2s, background-color .2s;
}
.profile-project:hover { border-color:#f1b49b80; background:#f1b49b0d; }
.profile-project-frame { display:block; overflow:hidden; aspect-ratio:16 / 9; background:#201b18; }
.profile-project-frame img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.profile-project:hover img { transform:scale(1.045); }
.profile-project-caption {
  display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 10px;
  padding:11px 12px 13px; line-height:1.3;
}
.profile-project-caption strong { font-size:15px; }
.profile-project-year { color:#f1b49b; font-size:11px; font-variant-numeric:tabular-nums; }
.profile-project-role { flex-basis:100%; color:var(--profile-muted); font-size:12px; overflow-wrap:anywhere; }
.profile-client-heading { margin-top:24px; font-size:14px; }
.profile-details .clients-grid { grid-template-columns:repeat(3,minmax(0,1fr)); margin:12px 0 0; }
.profile-details .client-cell { border-top-color:var(--profile-line); }
.profile-details .client-role { color:var(--profile-muted); }
.profile-tools { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; }
.profile-tools li {
  display:inline-flex; align-items:center; gap:8px; min-height:42px;
  padding:6px 12px 6px 8px; border:1px solid var(--profile-line); border-radius:999px;
  background:#ffffff05; color:var(--profile-muted); font-size:13px;
}
.profile-tools img { flex:none; width:26px; height:26px; object-fit:contain; }
.profile-tools .profile-tool-wordmark { padding-inline:12px; }
.profile-tool-wordmark img { width:119px; }
.profile-details summary:hover { color:#f1b49b; }
.profile-layout :is(button,summary):focus-visible { outline-color:#f1b49b; outline-offset:2px; }
@media(prefers-reduced-motion:no-preference) {
  .profile-details[open] .profile-details-content { animation:profile-details-enter .25s ease-out both; }
}
@keyframes profile-details-enter {
  from { opacity:.55; transform:translateY(5px); }
  to { opacity:1; transform:translateY(0); }
}
@media(prefers-reduced-motion:reduce) {
  .profile-project:hover img { transform:none; }
}
@media(max-width:760px) {
  .profile-layout { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:430px) {
  .profile-details .clients-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .profile-projects { grid-template-columns:minmax(0,1fr); }
}
