main,
.site-footer {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.home-hero {
    min-height: 660px;
    padding: 92px 0 86px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    gap: clamp(64px, 9vw, 124px);
    align-items: center;
}

.eyebrow,
.section-kicker,
.profile-label,
.work-meta {
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.hero-copy h1 {
    margin: 14px 0 18px;
    font-family: var(--font-display);
    font-size: clamp(54px, 7vw, 84px);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.hero-copy h1 span {
    display: block;
    margin-top: 10px;
    font-family: var(--font-body);
    font-size: 0.22em;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.hero-lead {
    max-width: 700px;
    margin-bottom: 22px;
    font-family: var(--font-display);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -0.025em;
    color: var(--color-text-secondary);
}

.hero-about {
    max-width: 690px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text-secondary);
}

.hero-about strong { color: var(--color-text); }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.button {
    min-height: 44px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--color-text);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.button-primary { background: var(--color-text); color: #fff; }
.button-primary:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.button-secondary { color: var(--color-text); }
.button-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 26px;
}

.profile-links a,
.text-link,
.work-links a,
.footer-links a {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-text-secondary);
}

.profile-links a { text-decoration: underline; text-decoration-color: var(--color-border); }
.profile-links a:hover,
.text-link:hover,
.work-links a:hover,
.footer-links a:hover { color: var(--color-accent); }

.profile-card {
    position: relative;
    padding: 16px 16px 22px;
    border: 1px solid var(--color-border);
    background: rgba(255, 254, 250, 0.68);
    box-shadow: var(--shadow-sm);
}

.portrait-wrap { position: relative; margin-bottom: 24px; }

.hero-avatar {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    object-position: center 34%;
    filter: saturate(0.86) contrast(1.02);
}

.status-dot {
    position: absolute;
    right: 14px;
    bottom: -7px;
    width: 15px;
    height: 15px;
    border: 3px solid var(--color-bg-raised);
    border-radius: 50%;
    background: #32845b;
}

.profile-label { margin-bottom: 7px; }
.profile-role { font-size: 16px; font-weight: 700; line-height: 1.4; }
.profile-org { font-size: 12.5px; color: var(--color-text-muted); }

.interest-list {
    margin-top: 20px;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid var(--color-border-light);
}
.interest-list span {
    padding: 5px 8px;
    background: var(--color-accent-soft);
    font-size: 10px;
    font-weight: 700;
    color: var(--color-accent);
}

.home-section {
    padding: 92px 0;
    border-top: 1px solid var(--color-border);
    scroll-margin-top: 80px;
}

.section-heading {
    margin-bottom: 34px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading.compact { margin-bottom: 22px; }

.section-heading h2,
.explore-panel h2 {
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
}

.featured-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    background: var(--color-bg-raised);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.featured-card:hover {
    transform: translateY(-4px);
    border-color: #c8c0b5;
    box-shadow: var(--shadow-md);
}

.featured-image {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border-light);
    background: #f2f1ed;
}

.featured-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 600ms var(--ease-out);
}

.featured-image.featured-image-graph {
    padding: 24px 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(236, 232, 224, 0.72)),
        #f1eee7;
}

.featured-image.featured-image-graph img {
    filter: drop-shadow(0 8px 15px rgba(32, 37, 35, 0.10));
}

.featured-image.featured-image-iclr {
    display: grid;
    place-items: center;
    padding: 28px;
    background: #f1eee7;
}

.featured-image.featured-image-iclr img {
    width: auto;
    max-width: 100%;
    max-height: 560px;
}

.featured-card:hover .featured-image img { transform: scale(1.02); }
.featured-card:hover .featured-image-graph img,
.featured-card:hover .featured-image-iclr img { transform: none; }

.featured-body {
    padding: 30px 34px 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 48px;
}
.work-meta { grid-column: 1 / -1; margin-bottom: 8px; font-size: 9.5px; }

.featured-body h3 {
    grid-column: 1;
    margin-bottom: 9px;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.featured-body h3 a { color: var(--color-text); }
.featured-body h3 a:hover { color: var(--color-accent); }
.featured-body p:not(.work-meta) {
    grid-column: 1;
    max-width: 780px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}
.work-links {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: end;
    display: flex;
    gap: 20px;
}

.work-links .coming-soon {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-text-muted);
    cursor: default;
}

.home-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.75fr);
    gap: clamp(60px, 9vw, 120px);
}

.updates-list { list-style: none; border-top: 1px solid var(--color-border); }

.updates-list li {
    padding: 17px 0;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--color-border-light);
}

.updates-list time { padding-top: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.updates-list p { font-size: 13.5px; color: var(--color-text-secondary); }
.updates-list a { color: var(--color-text); font-weight: 600; }
.updates-list a:hover { color: var(--color-accent); }

.explore-panel h2 { margin: 6px 0 20px; font-size: 31px; }
.explore-links { border-top: 1px solid var(--color-border); }

.explore-links a {
    padding: 15px 0;
    display: grid;
    grid-template-columns: 26px 1fr auto;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text);
}

.explore-links span { grid-row: 1 / 3; font-size: 9px; font-weight: 700; color: var(--color-accent); }
.explore-links strong { font-size: 13px; }
.explore-links small { grid-column: 2; font-size: 10.5px; color: var(--color-text-muted); }
.explore-links b { grid-column: 3; grid-row: 1 / 3; font-size: 13px; font-weight: 500; color: var(--color-text-muted); transition: transform var(--transition-fast); }
.explore-links a:hover strong { color: var(--color-accent); }
.explore-links a:hover b { transform: translate(2px, -2px); color: var(--color-accent); }

.site-footer {
    padding: 36px 0 46px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--color-border);
}

.site-footer p { font-size: 11.5px; color: var(--color-text-muted); }
.site-footer .footer-name { margin-bottom: 2px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--color-text); }
.footer-name span { margin-left: 5px; font-family: var(--font-body); font-size: 9px; letter-spacing: 0.12em; color: var(--color-text-muted); }
.footer-links { display: flex; gap: 20px; }

@media (max-width: 860px) {
    .home-hero { grid-template-columns: 1fr 250px; gap: 44px; }
    .hero-copy h1 { font-size: 58px; }
    .home-columns { gap: 54px; }
}

@media (max-width: 680px) {
    main, .site-footer { width: min(1120px, calc(100% - 32px)); }
    .home-hero { min-height: auto; padding: 58px 0 66px; grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: clamp(48px, 15vw, 66px); }
    .hero-lead { font-size: 26px; }
    .profile-card { display: grid; grid-template-columns: 105px 1fr; column-gap: 18px; align-items: start; }
    .portrait-wrap { grid-row: 1 / 4; margin: 0; }
    .hero-avatar { aspect-ratio: 1 / 1.2; }
    .interest-list { grid-column: 1 / -1; margin-top: 14px; }
    .home-section { padding: 64px 0; }
    .featured-grid, .home-columns { grid-template-columns: 1fr; }
    .featured-grid { gap: 26px; }
    .featured-image.featured-image-graph { padding: 16px 10px; }
    .featured-image.featured-image-iclr { padding: 16px; }
    .featured-body {
        padding: 24px;
        display: flex;
        flex-direction: column;
    }
    .featured-body h3 { font-size: 29px; }
    .featured-body p:not(.work-meta) { min-height: auto; }
    .work-links { margin-top: 0; padding-top: 20px; }
    .home-columns { gap: 62px; }
    .section-heading { align-items: start; }
    .site-footer { align-items: start; flex-direction: column; }
}

@media (max-width: 430px) {
    .profile-card { grid-template-columns: 86px 1fr; }
    .updates-list li { grid-template-columns: 1fr; gap: 4px; }
    .section-heading { flex-direction: column; gap: 14px; }
    .hero-actions .button { width: 100%; }
}
