:root {
    --paper: #faf9f6;
    --ink: #282638;
    --muted: #625f70;
    --accent: #7155a6;
    --line: #e3dfe9;
    --width: 1120px;
    --gutter: clamp(22px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
    margin: 0;
    color: var(--ink);
    font: 18px/1.7 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.hero {
    position: relative;
    height: clamp(330px, 31vw, 460px);
    isolation: isolate;
    background: #232b44;
}
.header-bg { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(0deg, rgba(24, 23, 43, .8), transparent 70%);
    pointer-events: none;
}
.site-title {
    position: absolute;
    z-index: 1;
    left: max(var(--gutter), calc((100% - var(--width)) / 2));
    bottom: 38px;
    color: #fff;
    font-size: clamp(56px, 7vw, 104px);
    line-height: 1.05;
    letter-spacing: -.055em;
    font-weight: 300;
}
.avatar {
    position: absolute;
    z-index: 2;
    right: max(var(--gutter), calc((100% - var(--width)) / 2));
    bottom: -46px;
    width: 180px;
    padding: 6px;
    border-radius: 24px;
    background: var(--paper);
    box-shadow: 0 12px 32px #28263820;
}
.avatar img { width: 100%; border-radius: 18px; }
.social {
    max-width: calc(var(--width) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 22px var(--gutter);
    display: flex;
    align-items: center;
    gap: 18px;
}
.social a { transition: transform .18s ease; }
.social a:hover { transform: translateY(-3px); }
.social img { width: 32px; height: 32px; object-fit: contain; }
.bio {
    max-width: calc(var(--width) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 50px var(--gutter) 80px;
}
.bio p { max-width: 78ch; margin-top: 24px; color: var(--muted); }
.bio .bio-lead {
    max-width: 38ch;
    margin-top: 0;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.4;
    letter-spacing: -.025em;
    font-weight: 400;
}
#body { border-top: 1px solid var(--line); background: #f0edf5; }
.content-wrapper { max-width: calc(var(--width) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.main-content { padding-top: 58px; padding-bottom: 60px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 600; }
.projects-heading { padding-bottom: 32px; }
.projects-heading h2 { font-weight: 300; font-size: clamp(44px, 5vw, 64px); line-height: 1.2; letter-spacing: -.04em; }
.projects-heading h2 span { color: var(--accent); }
.project { border-top: 1px solid #d9d2e3; }
.project > a {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 44px;
    gap: 36px;
    align-items: center;
    padding: 34px 0;
}
.logo { display: flex; align-items: center; justify-content: flex-start; }
.logo img { max-width: 210px; max-height: 100px; width: auto; height: auto; object-fit: contain; }
.txt h3 { margin-bottom: 8px; font-size: 23px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; transition: color .18s ease; }
.txt p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.project > a:hover h3 { color: var(--accent); }
footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 13px; }
.nowrap { white-space: normal; }
@media (max-width: 760px) {
    .hero { height: 340px; }
    .site-title { bottom: 46px; font-size: clamp(48px, 9vw, 68px); }
    .avatar { width: 112px; bottom: -38px; border-radius: 18px; }
    .avatar img { border-radius: 12px; }
    .social { padding-right: 150px; gap: 12px; flex-wrap: wrap; min-height: 82px; }
    .social img { width: 28px; height: 28px; }
    .bio { padding-top: 30px; padding-bottom: 48px; }
    body { font-size: 17px; }
    .main-content { padding-top: 36px; padding-bottom: 36px; }
    .project > a { grid-template-columns: 150px minmax(0, 1fr) 44px; gap: 22px; }
    .logo img { max-width: 150px; }
}
@media (max-width: 520px) {
    .hero { height: 300px; }
    .site-title { bottom: 60px; }
    .project > a { grid-template-columns: minmax(0, 1fr) 44px; gap: 18px; padding: 28px 0; }
    .logo { grid-column: 1; }
    .logo img { max-height: 70px; max-width: 180px; }
    .txt { grid-column: 1; }
    .project-arrow { grid-column: 2; grid-row: 1; align-self: start; }
    .txt h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::after { transition: none !important; }
}
.project-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    justify-self: end;
    transition: transform .18s ease, opacity .18s ease;
    opacity: .10;
}
.project-arrow img { width: 40px; height: 40px; object-fit: contain; }
.project > a:hover .project-arrow,
.project > a:focus-visible .project-arrow { transform: translateX(3px); opacity: 0.30; }
@media (prefers-reduced-motion: reduce) {
    .project-arrow { transition: none; }
}