:root{
  --bg:#0c0c0e;--surface:#141416;--surface-2:#1c1c1f;
  --line:rgba(255,255,255,.08);--line-strong:rgba(255,255,255,.14);
  --ink:rgba(255,255,255,.94);--muted:rgba(255,255,255,.58);
  --faint:rgba(255,255,255,.34);--accent:rgba(255,255,255,.30);
  --go:#4ade80;--go-glow:rgba(74,222,128,.18);
  --sans:'Geist',-apple-system,BlinkMacSystemFont,sans-serif;
  --mono:'Geist Mono',ui-monospace,monospace;
  --serif:'Instrument Serif',Georgia,serif;
  --ease:cubic-bezier(.22,1,.36,1);--t:200ms;
  --ease-soft:cubic-bezier(.33,.68,.28,1);--t-card:520ms;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{background:var(--bg);color:var(--ink);font-family:var(--sans);
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  -webkit-tap-highlight-color:transparent}
::selection{background:var(--accent);color:var(--bg)}
a{color:var(--ink);text-decoration:none}
img{display:block;max-width:100%}
:focus-visible{outline:2px solid rgba(255,255,255,.5);outline-offset:3px;border-radius:4px}

.skip{position:absolute;left:-9999px;top:0;font-family:var(--mono);font-size:0.75rem;
  background:var(--ink);color:var(--bg);padding:0.625rem 1rem;border-radius:0 0 8px 0;z-index:10}
.skip:focus{left:0}

.page{min-height:100svh;display:flex;flex-direction:column;
  padding:clamp(2.5rem,6vw,5rem) clamp(1rem,4vw,3rem) clamp(2rem,4vw,3.5rem);
  max-width:90rem;margin:0 auto;width:100%}
.layout{flex:1;display:grid;grid-template-columns:minmax(280px,340px) 1fr;
  gap:clamp(2.5rem,6vw,5rem);align-items:start}

/* ---------- sidebar ---------- */
.side{position:sticky;top:clamp(2.5rem,6vw,5rem);display:flex;flex-direction:column;gap:1.5rem}
.avatar{width:104px;height:104px;border-radius:999px;overflow:hidden;
  border:1px solid var(--line-strong);background:var(--surface);flex-shrink:0}
.avatar img{width:100%;height:100%;object-fit:cover}

.identity{display:flex;flex-direction:column;gap:0.75rem}
.identity h1{font-family:var(--serif);font-weight:400;
  font-size:clamp(2.5rem,5.5vw,3.625rem);line-height:1;letter-spacing:-.015em}
.role{font-family:var(--mono);font-size:0.6875rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--faint);line-height:1.5}

.tagline{font-family:var(--serif);font-style:italic;
  font-size:clamp(1.3125rem,2.4vw,1.5625rem);line-height:1.32;
  color:rgba(255,255,255,.78);max-width:22ch;text-wrap:balance}

.bio{font-size:0.9375rem;line-height:1.65;color:var(--muted);max-width:36ch;text-wrap:pretty}
.bio a{color:rgba(255,255,255,.88);border-bottom:1px solid rgba(255,255,255,.22);
  transition:border-color var(--t),color var(--t)}
.bio a:hover{color:#fff;border-bottom-color:rgba(255,255,255,.55)}

.status{display:inline-flex;align-items:center;gap:0.5rem;align-self:flex-start;
  font-family:var(--mono);font-size:0.6875rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--muted);background:rgba(255,255,255,.04);
  border:1px solid var(--line);border-radius:999px;padding:0.4375rem 0.8125rem 0.4375rem 0.6875rem}
.status .dot{width:6px;height:6px;border-radius:999px;background:var(--go);
  box-shadow:0 0 0 3px var(--go-glow);flex-shrink:0;
  animation:pulse 2.4s var(--ease) infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}

.cta{display:flex;flex-direction:column;gap:0.625rem;margin-top:0.125rem}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;
  font-family:var(--mono);font-size:0.75rem;letter-spacing:.06em;text-transform:uppercase;
  border-radius:999px;white-space:nowrap;
  transition:opacity var(--t),border-color var(--t),background var(--t),transform 140ms var(--ease)}
.btn:active{transition:none;transform:scale(.97)}
.btn-primary{color:var(--bg);background:rgba(255,255,255,.94);padding:0.8125rem 1.375rem;font-weight:500}
.btn-primary:hover{opacity:.86;color:var(--bg)}
.btn-ghost{color:var(--ink);background:transparent;
  border:1px solid var(--line-strong);padding:0.75rem 1.375rem}
.btn-ghost:hover{border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.03)}

.socials{display:flex;gap:0.5625rem;margin-top:0.125rem}
.socials a{display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:999px;border:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.55);transition:color var(--t),border-color var(--t),background var(--t)}
.socials a:hover{color:#fff;border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.04)}

/* ---------- main ---------- */
.main{display:flex;flex-direction:column;gap:clamp(2.5rem,5vw,3.5rem);min-width:0}
.section{display:flex;flex-direction:column;gap:1.25rem}
.section-head{display:flex;align-items:center;gap:0.875rem}
.section-head h2{font-family:var(--mono);font-size:0.75rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--muted);white-space:nowrap}
.section-head .count{font-family:var(--mono);font-size:0.6875rem;color:var(--faint)}
.rule{flex:1;height:1px;background:var(--line);min-width:20px}

.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(0.875rem,1.6vw,1.25rem)}
.card{position:relative;display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--line);border-radius:16px;overflow:hidden;
  will-change:transform;
  transition:border-color var(--t-card) var(--ease-soft),
             transform var(--t-card) var(--ease-soft),
             background var(--t-card) var(--ease-soft)}
.card:hover{transition-duration:420ms;
  border-color:rgba(255,255,255,.24);background:#161618;
  transform:translateY(-4px)}
.card:focus-within{border-color:rgba(255,255,255,.28)}

.shot{position:relative;aspect-ratio:16/9;background-color:var(--surface-2);
  background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 1px,transparent 1px 11px);
  border-bottom:1px solid rgba(255,255,255,.06);overflow:hidden}
.card-link{position:absolute;inset:0;z-index:2}
.shot .ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:0.6875rem;letter-spacing:.08em;color:rgba(255,255,255,.26)}
.shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:center;opacity:0;
  transition:opacity 400ms var(--ease)}
.shot img.loaded{opacity:1}


.card-body{position:relative;z-index:1;display:flex;flex-direction:column;gap:0.5625rem;padding:1.0625rem 1.125rem 1.1875rem;flex:1}
.card-title{display:flex;align-items:center;gap:0.6875rem;min-width:0}
.icon{position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:2rem;height:2rem;border-radius:0.5rem;background:var(--surface-2);
  border:1px solid rgba(255,255,255,.1);flex-shrink:0;overflow:hidden;
  transition:border-color var(--t-card) var(--ease-soft),background var(--t-card) var(--ease-soft)}
/* a real icon fills the tile edge to edge - no ring, no inner padding */
.icon:has(img){background:none;border:none}
.icon img{width:100%;height:100%;object-fit:cover;border-radius:0.5rem;
  position:relative;z-index:1}
.icon img[data-failed]{display:none}
.icon .fb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:0.8125rem;font-weight:500;color:rgba(255,255,255,.8)}

.card-title h3{font-size:0.96875rem;font-weight:500;letter-spacing:-.01em;line-height:1.3;
  flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-body p{font-size:0.875rem;line-height:1.55;color:var(--muted);flex:1;text-wrap:pretty}

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

.card-cta{position:absolute;top:12px;right:12px;z-index:4;
  display:inline-flex;align-items:center;gap:0.3125rem;
  font-family:var(--mono);font-size:0.625rem;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(255,255,255,.72);background:rgba(18,18,21,.72);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:0.375rem 0.625rem;
  opacity:0;transform:translateY(-3px);
  transition:opacity 380ms var(--ease-soft),transform 380ms var(--ease-soft),
             background 380ms var(--ease-soft),color 380ms var(--ease-soft),
             border-color 380ms var(--ease-soft)}
.card-cta span:first-child{margin-right:-.06em}
.card-cta svg{width:10px;height:10px;flex-shrink:0}
.card:hover .card-cta,.card:focus-within .card-cta{opacity:1;transform:none}
.card:hover .card-cta{color:rgba(255,255,255,.95);border-color:rgba(255,255,255,.2)}

.foot{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;margin-top:auto;
  padding-top:1.5rem;border-top:1px solid var(--line);font-family:var(--mono);
  font-size:0.6875rem;letter-spacing:.04em;color:var(--faint)}
.foot a{color:var(--muted);border-bottom:1px solid var(--line-strong);
  transition:color var(--t),border-color var(--t)}
.foot a:hover{color:rgba(255,255,255,.9);border-bottom-color:rgba(255,255,255,.45)}
.foot .sep{opacity:.45}

/* ---------- responsive ---------- */
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.card{opacity:0;animation:fadeIn 620ms var(--ease-soft) both}
.card:nth-child(1){animation-delay:40ms}
.card:nth-child(2){animation-delay:90ms}
.card:nth-child(3){animation-delay:140ms}
.card:nth-child(4){animation-delay:190ms}
.card:nth-child(5){animation-delay:240ms}
.card:nth-child(6){animation-delay:290ms}
.side>*{opacity:0;animation:fadeIn 640ms var(--ease-soft) both}
.side>*:nth-child(1){animation-delay:20ms}
.side>*:nth-child(2){animation-delay:70ms}
.side>*:nth-child(3){animation-delay:110ms}
.side>*:nth-child(4){animation-delay:150ms}
.side>*:nth-child(5){animation-delay:190ms}
.side>*:nth-child(6){animation-delay:230ms}
.side>*:nth-child(7){animation-delay:270ms}

.socials a{transition:color var(--t),border-color var(--t),
  background var(--t),transform 380ms var(--ease-soft)}
.socials a:hover{transform:translateY(-2px)}

.section-head .rule{transform-origin:left;animation:sweep 900ms var(--ease-soft) both;animation-delay:120ms}
@keyframes sweep{from{transform:scaleX(0)}to{transform:scaleX(1)}}

.foot a{transition:color var(--t),border-color var(--t)}

@media (min-width:66.25rem) and (max-width:78rem){
  .layout{grid-template-columns:minmax(13.75rem,16rem) 1fr;gap:clamp(1.75rem,3vw,2.5rem)}
}
@media (max-width:66.25rem){
  .layout{grid-template-columns:1fr;gap:2.75rem}
  .side{position:static;gap:1.375rem}
  .tagline{max-width:26ch}
  .bio{max-width:58ch}
  .cta{flex-direction:row;flex-wrap:wrap;align-self:flex-start}
  .btn{flex:0 1 auto;min-width:0}
}
@media (max-width:56.25rem){
  .card-cta{opacity:1;transform:none}
}
@media (max-width:37.5rem){
  .grid{grid-template-columns:1fr;gap:0.875rem}
  .avatar{width:88px;height:88px}
  .cta{flex-direction:column}
  .btn{width:100%;min-width:0}
  .foot{flex-direction:column;align-items:flex-start;gap:0.625rem;line-height:1.5}
  .foot .sep{display:none}
}
@media (hover:none){
  .socials a{width:2.75rem;height:2.75rem}
  .foot a{display:inline-block;padding:0.375rem 0}
  .card:hover{transform:none;background:var(--surface)}
  .card:hover .shot img.loaded{opacity:1;transform:none}
  .card-cta{opacity:1;transform:none}
  .card:active{transform:scale(.99)}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition-duration:.01ms!important}
  .card,.side>*{opacity:1!important}
  .rule{transform:none!important}
  .card:hover{transform:none}
  .card-cta{opacity:1;transform:none}
}
