@font-face {
  font-family: Manrope;
  src: url('/assets/manrope.ttf') format('truetype');
  font-display: swap;
}
:root {
  --desk: #202226;
  --cover: #383039;
  --cover-ink: #fff8ee;
  --paper: #fff9ef;
  --ink: #29231f;
  --muted: #665b53;
  --line: #c5b8a6;
  --accent: #ffad74;
  --band: #f4d9bb;
  color-scheme: light;
}
body[data-theme=midnight] {
  --desk: #151923;
  --cover: #28304b;
  --cover-ink: #fffaf1;
  --paper: #f6f5f1;
  --ink: #222839;
  --muted: #576078;
  --line: #b7beca;
  --accent: #f8bf66;
  --band: #dee3f0;
}
body[data-theme=parchment] {
  --desk: #182820;
  --cover: #2d4439;
  --cover-ink: #fbf8e9;
  --paper: #faf7e7;
  --ink: #26392a;
  --muted: #546351;
  --line: #b6c0a2;
  --accent: #daeca0;
  --band: #dde6c5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background-color: var(--desk);
  background-image: radial-gradient(#ffffff1c .75px, transparent .9px);
  background-size: 8px 8px;
  color: var(--ink);
  font: 1rem/1.6 Manrope, Arial, sans-serif;
}
a { color: inherit; text-decoration-thickness: .075em; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
.skip { position: absolute; left: 1rem; top: -6rem; padding: .6rem 1rem; z-index: 3; background: var(--paper); }
.skip:focus { top: .5rem; }
.network-header { color: #fff; background: #141519; border-bottom: 1px solid #ffffff46; }
.network-inner, .profile-page { width: min(100% - 2rem, 69rem); margin-inline: auto; }
.network-inner { display: flex; align-items: center; gap: clamp(.7rem, 3vw, 2rem); padding-block: .85rem; font-size: .9rem; }
.network-brand { margin-right: auto; font-weight: 800; font-size: 1.95rem; line-height: 1; letter-spacing: -.085em; text-decoration: none; }
.network-brand span { font-size: .8em; }
.profile-page { padding-block: clamp(1rem, 3vw, 2.3rem); }
.cover {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: end; justify-content: space-between; gap: .75rem;
  padding: clamp(1.25rem, 4vw, 3rem); min-height: clamp(11rem, 18vw, 15rem);
  background-color: var(--cover); color: var(--cover-ink); border: 1px solid #ffffff4d;
}
.cover::after {
  content: ''; position: absolute; inset: 0 0 0 48%; z-index: -1;
  background: repeating-linear-gradient(121deg, transparent 0 16px, #ffffff18 16px 18px),
              repeating-linear-gradient(59deg, transparent 0 33px, #ffffff12 33px 35px);
  mask-image: linear-gradient(to right, transparent, black 75%);
}
.cover-copy { max-width: 51rem; overflow-wrap: anywhere; }
.cover h1 { font: bold clamp(3rem, 8vw, 6.7rem)/.94 Georgia, serif; letter-spacing: -.075em; }
.cover h1 span { font-weight: normal; font-style: italic; color: var(--accent); white-space: normal; }
.cover-copy p { font-size: clamp(.95rem, 2vw, 1.15rem); margin-top: 1rem; }
.profile-logo { width: clamp(3rem, 14vw, 9rem); height: auto; max-height: 9rem; object-fit: contain; align-self: center; }
.profile-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); gap: 1.1rem; align-items: start; margin-top: 1.1rem; }
body[data-layout=right] .profile-layout { grid-template-columns: minmax(0, 2fr) minmax(0, .85fr); }
body[data-layout=right] .profile-sidebar { grid-column: 2; grid-row: 1; }
body[data-layout=right] .profile-main { grid-column: 1; grid-row: 1; }
.profile-main, .profile-sidebar { display: grid; min-width: 0; gap: 1.1rem; }
.panel { min-width: 0; background: var(--paper); border: 1px solid var(--line); overflow-wrap: anywhere; box-shadow: 3px 3px 0 #08090d7a; }
.panel-heading {
  padding: .56rem 1rem; background: var(--band); border-bottom: 1px solid var(--line);
  font: bold .94rem/1.35 Manrope, Arial, sans-serif;
}
.panel-body, .profile-card-copy { display: grid; gap: .7rem; padding: 1.12rem 1.25rem; }
.panel-body p, .profile-role, .cover-copy p, .feature-body p, .status-note p { white-space: pre-line; }
.panel-body h3, .feature-body h3 { white-space: pre-line; }
.panel-body h3 { font: bold clamp(1.45rem, 3vw, 2.25rem)/1.12 Georgia, serif; letter-spacing: -.045em; }
.panel-body p { max-width: 62ch; }
.panel-body a { justify-self: start; font-weight: 700; }
.portrait-wrap { margin: .65rem .65rem 0; background: var(--cover); border: 1px solid var(--line); overflow: hidden; }
.portrait { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.initials { display: grid; min-height: 7rem; place-items: center; color: var(--accent); font: italic bold clamp(2.5rem, 5vw, 4.5rem)/1 Georgia, serif; }
.profile-card-copy { gap: .4rem; padding: 1rem; }
.profile-card h2 { font: bold clamp(1.4rem, 3vw, 2.1rem)/1 Georgia, serif; letter-spacing: -.04em; }
.profile-role, .interest-table dt { color: var(--muted); }
.overline { font: 700 .8rem/1.4 Manrope, Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.link-list { display: grid; }
.link-list a { display: block; overflow-wrap: anywhere; padding: .6rem 1rem; }
.link-list a + a, .interest-table div + div { border-top: 1px dotted var(--line); }
.interest-table div { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.3fr); gap: .7rem; padding: .6rem 1rem; }
.interest-table dt, .interest-table dd { font-size: .89rem; }
.interest-table dt { font-weight: 700; }
.status-note > p { padding: 1rem 1.25rem; }
.feature-body { padding: clamp(1.4rem, 4vw, 2.6rem); background-color: var(--cover); color: var(--cover-ink); }
.feature-body > * + * { margin-top: .65rem; }
.feature-body .overline { color: var(--accent); }
.feature-body h3 { font: bold clamp(1.8rem, 5vw, 3.5rem)/1 Georgia, serif; letter-spacing: -.055em; }
.feature-poster {
  border-left: .45rem solid var(--accent);
  background-image: repeating-linear-gradient(-27deg, transparent 0 12px, #ffffff12 12px 14px, transparent 14px 24px);
}
.feature-poster h3 { font: 800 clamp(2.25rem, 7vw, 5.3rem)/.95 Manrope, Arial, sans-serif; letter-spacing: -.075em; }
.feature-poster > p { font: italic clamp(1.05rem, 2.8vw, 1.7rem)/1.3 Georgia, serif; color: var(--accent); }
.profile-footer { color: #fafafa; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: 1.25rem 0; font-size: .9rem; }
@media (max-width: 680px) {
  .profile-layout, body[data-layout=right] .profile-layout { grid-template-columns: minmax(0, 1fr); }
  body[data-layout=right] .profile-sidebar, body[data-layout=right] .profile-main { grid-column: auto; grid-row: auto; }
  .profile-card { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); align-items: center; }
  .portrait-wrap { margin: .6rem; }
  .profile-card-copy { padding-left: .2rem; }
  .network-inner, .profile-page { width: calc(100% - 1.3rem); }
  .profile-layout, .profile-sidebar, .profile-main { gap: .75rem; }
}
