* {
    box-sizing: border-box;
}


:root {
    --bg: #eef2f5;
    --panel: #ffffff;
    --ink: #25313d;
    --muted: #64727f;
    --line: #d9e0e7;
    --nav: #24384a;
    --nav-soft: #d9e6ef;
    --accent: #8a5a2b;
    --accent-soft: #f3e6d6;
    --shadow: 0 18px 45px rgba(42, 55, 68, 0.12);
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background:
        linear-gradient(180deg, #f8fafb 0%, var(--bg) 42%, #e7edf1 100%);
    color: var(--ink);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(36, 56, 74, 0.96);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(20, 30, 40, 0.16);
    backdrop-filter: blur(8px);
}

.nav-container {
    width: min(1120px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.site-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--nav-soft);
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 17px;
    line-height: 1;
    transition: background 160ms ease, color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
    color: white;
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.home-page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
}

.home-hero {
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(42px, 7vw, 88px);
    align-items: center;
    padding: 88px 7%;
    border-bottom: 1px solid var(--line);
}

.home-hero-copy {
    min-width: 0;
}

.home-portrait {
    position: relative;
    margin: 0;
}

.home-portrait::before {
    position: absolute;
    top: 18px;
    right: -18px;
    bottom: -18px;
    left: 18px;
    z-index: -1;
    border: 1px solid #b8c6d0;
    border-radius: 8px;
    content: "";
}

.home-portrait img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.home-affiliation {
    margin: 0 0 22px;
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.home-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #1e2e3b;
    font-size: clamp(58px, 8vw, 92px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.home-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 13px;
    margin: 30px 0 0;
    color: #294d68;
    font-size: clamp(20px, 2.5vw, 27px);
    font-weight: 700;
    line-height: 1.35;
}

.home-fields span {
    color: #ae8359;
}

.home-introduction {
    max-width: 760px;
    margin: 25px 0 0;
    color: #4d5d6b;
    font-size: 21px;
    line-height: 1.62;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.home-actions a {
    min-width: 112px;
    padding: 12px 20px;
    border: 1px solid #9eb2c2;
    border-radius: 6px;
    color: #173f5f;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.home-actions a:first-child,
.home-actions a:hover,
.home-actions a:focus-visible {
    border-color: var(--nav);
    background: var(--nav);
    color: white;
    outline: none;
}

.home-section {
    padding: 70px 7%;
}

.home-section-heading {
    display: grid;
    grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 28px;
}

.home-section .eyebrow {
    margin: 0 0 6px;
}

.home-section h2 {
    margin: 0;
    color: #233746;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.08;
}

.home-research-list {
    border-top: 1px solid #bac6cf;
}

.home-research-list a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 34px;
    gap: 20px;
    align-items: center;
    padding: 28px 4px;
    border-bottom: 1px solid #bac6cf;
    color: #243847;
    text-decoration: none;
    transition: color 160ms ease, padding 160ms ease;
}

.home-research-list a:hover,
.home-research-list a:focus-visible {
    padding-left: 12px;
    color: #0c5798;
    outline: none;
}

.home-research-list a > span:first-child {
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

.home-research-list strong {
    font-size: clamp(20px, 2.5vw, 27px);
    line-height: 1.35;
}

.home-arrow {
    font-size: 24px;
    text-align: right;
}

.home-beyond {
    padding-top: 34px;
}

.home-beyond > h2 {
    margin-bottom: 24px;
    font-size: 30px;
}

.golf-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 35px 38px;
    border-radius: 8px;
    background: linear-gradient(120deg, #24384a 0%, #315b76 100%);
    color: white;
    box-shadow: var(--shadow);
}

.golf-banner h3 {
    margin: 0 0 10px;
    color: white;
    font-size: 24px;
    line-height: 1.3;
}

.golf-banner p {
    max-width: 720px;
    margin: 0;
    color: #d9e6ef;
    font-size: 18px;
    line-height: 1.55;
}

.golf-banner > a {
    flex: 0 0 auto;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 6px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.golf-banner > a:hover,
.golf-banner > a:focus-visible {
    border-color: white;
    background: white;
    color: var(--nav);
    outline: none;
}

.page {
    width: min(1120px, calc(100% - 40px));
    margin: 56px auto 72px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 104px;
    text-align: center;
    padding: 24px 22px 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.profile-img {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(37, 49, 61, 0.1);
    box-shadow: 0 14px 30px rgba(37, 49, 61, 0.14);
}

.sidebar h1 {
    font-size: 31px;
    line-height: 1.1;
    margin: 22px 0 8px;
}

.sidebar .subtitle {
    font-size: 19px;
    color: var(--accent);
    margin: 8px 0 14px;
}

.sidebar .institution {
    font-size: 18px;
    line-height: 1.35;
    color: var(--muted);
    margin-top: 8px;
}

.content {
    min-width: 0;
    padding: 44px 52px 52px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.content h1 {
    font-size: 46px;
    font-weight: 500;
    line-height: 1.08;
    margin: 0 0 24px;
    color: #1f2d38;
}

.content h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    margin: 42px 0 14px;
    color: #263847;
}

.content h3 {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.25;
    margin: 30px 0 12px;
}

.content p,
.section-intro {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.68;
    margin: 0 0 20px;
}

.content a {
    color: #0c5798;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.content a:hover {
    color: #063e70;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 4px;
}

.button-row a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #b8c7d3;
    border-radius: 6px;
    background: #f9fbfc;
    color: #163f66;
    font-size: 17px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(38, 56, 71, 0.08);
}

.button-row a:hover {
    background: #eef6fb;
    text-decoration: none;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr);
    gap: 34px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

ul {
    max-width: 790px;
    padding-left: 24px;
    font-size: 19px;
    line-height: 1.6;
}

li {
    margin-bottom: 12px;
}

.content > ul > li {
    padding-left: 4px;
}

.small {
    font-size: 16px;
    color: var(--muted);
}

.note-category {
    width: fit-content;
    max-width: 100%;
    margin: 30px 0 10px;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: #71451f;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.advisor-list,
.notes-list,
.course-list {
    margin-top: 8px;
    margin-bottom: 28px;
    padding-left: 24px;
}

.advisor-list li,
.notes-list li,
.course-list li {
    font-size: 18px;
    line-height: 1.58;
    margin-bottom: 10px;
}

.notes-list a {
    margin-left: 6px;
    white-space: nowrap;
}

.academic-profile h2 {
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.academic-profile h2:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.profile-card,
.note-group {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfd;
}

.feature-card {
    border-color: #ccb79d;
    background: #fffaf4;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.single-card {
    grid-template-columns: 1fr;
}

.notes-section {
    display: grid;
    gap: 18px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.profile-card h3,
.note-group h3 {
    margin-top: 0;
}

.note-entry {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.note-entry h4 {
    margin: 0 0 8px;
    color: #263847;
    font-size: 19px;
    line-height: 1.35;
}

.note-entry p,
.profile-card p,
.note-group p,
.placeholder-text {
    font-size: 17px;
    line-height: 1.58;
}

.note-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-top: 2px;
    padding: 6px 12px;
    border: 1px solid #b8c7d3;
    border-radius: 6px;
    background: white;
    color: #163f66;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.note-link:hover {
    background: #eef6fb;
    text-decoration: none;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.link-list span,
.placeholder-text {
    color: var(--muted);
}

.link-list span {
    padding: 7px 10px;
    border: 1px dashed #c4ccd4;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

.project-background {
    color: var(--muted);
    font-size: 16px;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #b8c7d3;
    border-radius: 6px;
    background: white;
    color: #163f66;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.project-links a:hover {
    background: #eef6fb;
    text-decoration: none;
}

.research-figure {
    display: block;
    width: 100%;
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.preparation-list li {
    margin-bottom: 10px;
}

.independent-study-intro {
    max-width: 760px;
    margin-bottom: 18px;
}

.study-grid {
    margin-top: 0;
}

.study-card {
    display: flex;
    flex-direction: column;
    border-top: 4px solid #294d68;
    box-shadow: 0 8px 22px rgba(42, 55, 68, 0.06);
}

.study-card h3 {
    min-height: 2.7em;
    margin-bottom: 14px;
}

.study-details {
    margin: 0;
}

.study-details > div {
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.study-details dt {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.study-details dd {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.5;
}

.study-focus {
    margin: 14px 0 0;
}

.credential-card {
    overflow: hidden;
    margin: 30px 0 8px;
    border: 1px solid #ccb79d;
    border-radius: 8px;
    background: #fffaf4;
    box-shadow: 0 12px 28px rgba(42, 55, 68, 0.1);
}

.credential-image-link {
    display: block;
    background: #1d2125;
}

.credential-image {
    display: block;
    width: 100%;
    height: auto;
}

.credential-card figcaption {
    display: grid;
    gap: 5px;
    padding: 20px 22px 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.45;
}

.credential-card figcaption strong {
    color: var(--ink);
    font-size: 21px;
}

.credential-label {
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.credential-link {
    width: fit-content;
    margin-top: 7px;
    font-weight: 700;
}

.research-page {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 36px;
    width: min(1240px, calc(100% - 40px));
}

.research-content {
    padding: 0;
    overflow: hidden;
}

.research-sidebar {
    padding-bottom: 20px;
}

.research-jump {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    text-align: left;
}

.research-jump a {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 8px;
    align-items: center;
    padding: 9px 10px;
    border-radius: 6px;
    color: #29455d;
    font-size: 15px;
    line-height: 1.3;
    text-decoration: none;
}

.research-jump a:hover,
.research-jump a:focus-visible {
    background: #eef4f8;
    outline: none;
}

.research-jump span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.research-hero {
    padding: 52px 56px 48px;
    background: linear-gradient(135deg, #1e3346 0%, #294a63 62%, #34566d 100%);
    color: white;
}

.research-hero .eyebrow {
    color: #e7c79f;
}

.research-hero h1 {
    color: white;
    font-size: clamp(42px, 7vw, 68px);
    margin-bottom: 18px;
}

.research-lead {
    max-width: 820px;
    color: #edf3f7;
    font-size: 21px;
    line-height: 1.65;
}

.research-project {
    padding: 54px 56px 60px;
    scroll-margin-top: 100px;
}

.research-project + .research-project {
    border-top: 1px solid var(--line);
    background: #f8fafb;
}

.project-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.project-heading h2 {
    max-width: 770px;
    margin: 5px 0 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.13;
}

.project-number {
    margin: 0;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid #b9cbd8;
    border-radius: 999px;
    background: #edf5fa;
    color: #294b65;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.status-ongoing {
    border-color: #d8c09f;
    background: #fff6e8;
    color: #755020;
}

.project-summary {
    max-width: 850px;
    margin: 24px 0 0;
    color: #425363;
    font-size: 21px;
    line-height: 1.66;
}

.project-funding {
    width: fit-content;
    margin: 20px 0 0 !important;
    padding: 8px 11px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: #71451f;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.4 !important;
}

.result-panel,
.finding-panel {
    margin: 36px 0;
    padding: 28px 30px;
    border-left: 5px solid var(--accent);
    border-radius: 0 8px 8px 0;
    background: #fff8ef;
}

.result-panel h3,
.finding-panel h3 {
    margin-top: 5px;
    font-size: 27px;
}

.result-panel p,
.finding-panel p {
    font-size: 18px;
    line-height: 1.62;
}

.result-label,
.work-index {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.display-equation {
    display: block;
    overflow-x: auto;
    margin: 21px 0 24px;
    color: #182b3a;
    font-family: "Times New Roman", serif;
    font-size: clamp(21px, 3.5vw, 31px);
    line-height: 1.3;
}

.display-equation math {
    margin: 0 auto;
    font-size: 1em;
}

.equation-equivalence {
    margin: -4px 0 24px;
    color: #263d4f;
    font-family: "Times New Roman", serif;
    font-size: 19px;
    font-style: italic;
    text-align: center;
}

.equation-equivalence math {
    margin-left: 0.3em;
    font-size: 1.08em;
}

.fraction {
    display: inline-grid;
    min-width: 86px;
    text-align: center;
}

.fraction span:first-child {
    border-bottom: 1px solid currentColor;
}

.fraction span:last-child {
    padding-top: 2px;
}

.equation-bound {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: none;
    margin: 18px 0 38px;
    padding: 0;
    list-style: none;
}

.method-steps li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfd;
    font-size: 16px;
    line-height: 1.52;
}

.method-steps li > span,
.stage-number {
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

.method-steps strong {
    display: block;
    margin-bottom: 4px;
    color: #21384b;
}

.project-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.compact-list {
    padding-left: 20px;
    font-size: 17px;
    line-height: 1.56;
}

.compact-list li {
    margin-bottom: 8px;
}

.project-meta {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafb;
}

.project-meta h3 {
    margin-top: 0;
}

.project-meta dl,
.project-meta dd {
    margin: 0;
}

.project-meta dl > div {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.project-meta dl > div:first-child {
    padding-top: 0;
    border-top: 0;
}

.project-meta dt {
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.project-meta dd {
    color: #4e5e6c;
    font-size: 16px;
    line-height: 1.5;
}

.research-question {
    margin: 34px 0 36px;
    padding: 24px 28px;
    border: 1px solid #b9cbd8;
    border-radius: 8px;
    background: #edf5fa;
}

.research-question p {
    margin: 0;
    color: #213e55;
    font-size: clamp(22px, 3vw, 29px);
    font-style: italic;
    line-height: 1.45;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.work-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.work-card h3 {
    margin-top: 8px;
}

.work-card p {
    font-size: 17px;
    line-height: 1.58;
}

.finding-panel {
    border-left-color: #526f84;
    background: #eef4f7;
}

.finding-panel .result-label {
    color: #36586f;
}

.next-stage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0 28px;
}

.next-stage-grid section {
    padding: 20px;
    border-top: 3px solid var(--accent);
    background: white;
    box-shadow: 0 8px 20px rgba(42, 55, 68, 0.08);
}

.next-stage-grid h4 {
    margin: 8px 0 9px;
    color: #263847;
    font-size: 19px;
}

.next-stage-grid p {
    margin: 0;
    color: #536270;
    font-size: 16px;
    line-height: 1.53;
}

.finance-note {
    max-width: none;
    margin-top: 34px;
    padding: 20px 22px;
    border: 1px solid #d9c4a8;
    border-radius: 8px;
    background: #fffaf4;
    font-size: 17px;
}

.research-contact {
    padding: 46px 56px 52px;
    border-top: 1px solid var(--line);
    background: white;
}

.research-contact h2 {
    margin-top: 6px;
}

.research-foundation-note {
    margin: 24px 0 30px;
    padding: 18px 20px;
    border-left: 4px solid #526f84;
    background: #eef4f7;
    color: #3f5261;
    font-size: 17px;
    line-height: 1.6;
}

.random-matrix-meta {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafb;
}

.cv-page {
    width: min(1120px, calc(100% - 40px));
    margin: 56px auto 80px;
}

.cv-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding: 38px 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #24384a 0%, #315b76 100%);
    color: white;
    box-shadow: var(--shadow);
}

.cv-header .eyebrow {
    color: #f0c48b;
}

.cv-header h1 {
    margin: 0;
    color: white;
    font-size: 50px;
    line-height: 1.05;
}

.cv-updated {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 15px 0 0;
    color: #d9e6ef;
    font-size: 17px;
}

.cv-header a {
    color: white;
    font-weight: 700;
}

.cv-contact {
    display: grid;
    gap: 7px;
    justify-items: end;
    font-size: 16px;
}

.cv-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.cv-rail {
    position: sticky;
    top: 96px;
}

.cv-toc {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    box-shadow: 0 10px 26px rgba(42, 55, 68, 0.08);
}

.cv-toc a {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    color: #294d68;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.cv-toc a:last-child {
    border-bottom: 0;
}

.cv-toc a:hover,
.cv-toc a:focus-visible {
    background: #eef4f7;
    outline: none;
}

.cv-download {
    display: block;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.cv-download:hover {
    background: #734820;
    text-decoration: none;
}

.cv-document {
    padding: 44px 48px 54px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    box-shadow: var(--shadow);
}

.cv-section {
    scroll-margin-top: 104px;
}

.cv-section + .cv-section {
    margin-top: 46px;
    padding-top: 38px;
    border-top: 1px solid var(--line);
}

.cv-section h2 {
    margin: 0 0 24px;
    color: #253746;
    font-size: 30px;
    line-height: 1.15;
}

.cv-section h3 {
    margin: 0;
    color: #263847;
    font-size: 21px;
    line-height: 1.32;
}

.cv-section p,
.cv-section li,
.cv-section dd {
    font-size: 16px;
    line-height: 1.55;
}

.cv-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.cv-item-head p {
    margin: 5px 0 0;
    color: var(--muted);
}

.cv-item-head > p {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #475867;
    font-weight: 700;
    text-align: right;
}

.cv-gpa {
    margin: 16px 0 24px;
    padding: 13px 16px;
    border-left: 4px solid var(--accent);
    background: #fffaf4;
}

.cv-gpa span {
    margin: 0 7px;
    color: #ac8d6e;
}

.coursework-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.coursework-block {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafb;
}

.cv-label {
    margin: 0 0 9px;
    color: var(--accent);
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.coursework-block ul,
.completed-coursework ul,
.cv-entry ul,
.cv-section > ul {
    margin: 0;
    padding-left: 20px;
}

.completed-coursework {
    margin-top: 20px;
}

.course-chip-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 22px;
}

.course-chip-list li {
    margin-bottom: 3px;
}

.cv-entry + .cv-entry {
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.cv-entry ul {
    margin-top: 13px;
}

.cv-entry li {
    margin-bottom: 8px;
}

.cv-funding {
    width: fit-content;
    margin: 12px 0 0;
    padding: 7px 10px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: #71451f;
    font-weight: 700;
}

.manuscript-list {
    display: grid;
    gap: 14px;
}

.manuscript-entry {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-left: 4px solid #294d68;
    border-radius: 8px;
    background: #fbfcfd;
}

.manuscript-entry h3 {
    margin-top: 7px;
}

.manuscript-status {
    width: fit-content;
    margin: 0;
    color: var(--accent);
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cv-section-intro {
    margin: -10px 0 22px;
    color: #52616f;
}

.cv-study-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cv-study-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-top: 4px solid #294d68;
    border-radius: 8px;
    background: #fbfcfd;
}

.cv-study-card h3 {
    min-height: 2.65em;
    margin-bottom: 12px;
}

.cv-study-card p {
    margin: 9px 0 0;
}

.cv-honor-list {
    display: grid;
}

.cv-honor-list > div {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    line-height: 1.45;
}

.cv-honor-list > div:first-child {
    padding-top: 0;
}

.cv-honor-list span {
    flex: 0 0 auto;
    color: var(--muted);
}

.skills-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.skills-list > div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.skills-list dt {
    color: #31495c;
    font-weight: 700;
}

.skills-list dd {
    margin: 0;
}

.golf-page {
    width: min(1180px, calc(100% - 40px));
    margin: 48px auto 84px;
}

.golf-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.88fr);
    min-height: 620px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    box-shadow: var(--shadow);
}

.golf-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 62px 58px;
}

.golf-hero .eyebrow,
.golf-section-heading .eyebrow,
.golf-mindset .eyebrow,
.golf-closing .eyebrow {
    margin: 0 0 14px;
}

.golf-hero h1 {
    max-width: 660px;
    margin: 0;
    color: #1f303d;
    font-size: clamp(50px, 6vw, 72px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.golf-hero-lead {
    max-width: 650px;
    margin: 28px 0 0;
    color: #4b5c69;
    font-size: 20px;
    line-height: 1.68;
}

.golf-hero-facts {
    display: grid;
    gap: 11px;
    margin-top: 34px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    color: #54626e;
    font-size: 15px;
    line-height: 1.4;
}

.golf-hero-facts strong {
    display: inline-block;
    width: 60px;
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.golf-roster-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 22px;
    color: #173f5f;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.golf-roster-link:hover,
.golf-roster-link:focus-visible {
    color: #0c5798;
    text-decoration: underline;
    text-underline-offset: 4px;
    outline: none;
}

.golf-hero-figure {
    position: relative;
    min-height: 620px;
    margin: 0;
    overflow: hidden;
    background: #dfe6e9;
}

.golf-hero-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.golf-hero-figure figcaption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 11px 14px;
    border-radius: 6px;
    background: rgba(23, 42, 56, 0.86);
    color: white;
    font-size: 14px;
    line-height: 1.35;
    backdrop-filter: blur(5px);
}

.golf-introduction {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    padding: 72px 6%;
    border-bottom: 1px solid var(--line);
}

.golf-introduction p {
    margin: 0;
    color: #40515f;
    font-size: 19px;
    line-height: 1.72;
}

.golf-journey {
    padding: 76px 6% 80px;
}

.golf-section-heading {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 42px;
}

.golf-section-heading h2,
.golf-mindset h2,
.golf-closing h2 {
    margin: 0;
    color: #223644;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.08;
}

.golf-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    max-width: none;
    margin: 0 0 52px;
    padding: 0;
    list-style: none;
}

.golf-timeline::before {
    position: absolute;
    top: 50px;
    right: 2%;
    left: 2%;
    height: 1px;
    background: #aab9c4;
    content: "";
}

.golf-timeline li {
    position: relative;
    z-index: 1;
    margin: 0;
}

.timeline-year {
    display: block;
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
}

.timeline-dot {
    display: block;
    width: 13px;
    height: 13px;
    margin: 20px 0;
    border: 3px solid white;
    border-radius: 50%;
    background: #294d68;
    box-shadow: 0 0 0 1px #294d68;
}

.golf-timeline p {
    margin: 0;
    color: #4c5d6a;
    font-size: 15px;
    line-height: 1.52;
}

.golf-photo-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.35fr 0.9fr;
    gap: 16px;
}

.golf-photo-grid figure {
    position: relative;
    height: 315px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #dde4e8;
    box-shadow: 0 10px 28px rgba(42, 55, 68, 0.1);
}

.golf-photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.golf-photo-grid figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 5px;
    background: rgba(25, 42, 55, 0.86);
    color: white;
    font-size: 14px;
    line-height: 1.35;
    backdrop-filter: blur(4px);
}

.golf-photo-grid figcaption span {
    color: #dce7ee;
    text-align: right;
}

.golf-results {
    margin: 0;
    padding: 76px 6% 82px;
    border-radius: 10px;
    background: linear-gradient(135deg, #203446 0%, #315b76 100%);
    color: white;
    box-shadow: var(--shadow);
}

.golf-results .eyebrow {
    color: #efc28a;
}

.golf-results .golf-section-heading h2 {
    color: white;
}

.golf-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.golf-results-grid section {
    padding: 25px 23px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.golf-results-grid h3 {
    min-height: 2.4em;
    margin: 0 0 14px;
    color: white;
    font-size: 20px;
    line-height: 1.25;
}

.golf-results-grid a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #e9f0f4;
    font-size: 16px;
    line-height: 1.38;
    text-decoration: none;
}

.golf-results-grid a:hover,
.golf-results-grid a:focus-visible {
    color: white;
    outline: none;
}

.golf-results-grid a strong {
    color: #f0c48b;
    font-size: 19px;
}

.golf-mindset {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
    gap: 70px;
    padding: 90px 6%;
    border-bottom: 1px solid var(--line);
}

.golf-mindset h2 {
    max-width: 430px;
}

.golf-mindset-copy p {
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    color: #41515f;
    font-size: 19px;
    line-height: 1.68;
}

.golf-mindset-copy p:first-child {
    padding-top: 0;
}

.golf-mindset-copy p:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.golf-closing {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
    margin-top: 76px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    box-shadow: var(--shadow);
}

.golf-closing img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center 40%;
}

.golf-closing > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 48px;
}

.golf-closing h2 {
    font-size: clamp(32px, 4vw, 45px);
}

.golf-closing > div > p:last-child {
    margin: 24px 0 0;
    color: #4b5c69;
    font-size: 20px;
    line-height: 1.62;
}

@media (max-width: 1050px) {
    .research-page {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px;
    }

    .research-hero,
    .research-project,
    .research-contact {
        padding-left: 38px;
        padding-right: 38px;
    }

    .next-stage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .nav-container {
        min-height: auto;
        padding: 18px 0 14px;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .nav {
        justify-content: flex-start;
    }

    .nav a {
        padding: 8px 10px;
        font-size: 16px;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 38px;
        min-height: 500px;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .home-section-heading {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .page {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 30px;
        margin-bottom: 42px;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: 118px 1fr;
        column-gap: 20px;
        text-align: left;
        align-items: center;
        padding: 18px;
    }

    .profile-img {
        grid-row: span 4;
        max-width: 118px;
    }

    .sidebar h1 {
        margin-top: 0;
        font-size: 28px;
    }

    .sidebar .subtitle,
    .sidebar .institution {
        font-size: 17px;
    }

    .content {
        padding: 34px 28px 38px;
    }

    .content h1 {
        font-size: 38px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .research-page {
        grid-template-columns: 1fr;
    }

    .research-jump {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-columns,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .cv-layout {
        grid-template-columns: 1fr;
    }

    .cv-rail {
        position: static;
    }

    .cv-toc {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cv-toc a {
        border-right: 1px solid var(--line);
        text-align: center;
    }

    .cv-download {
        margin-top: 10px;
    }
}

@media (max-width: 560px) {
    .nav-container,
    .page {
        width: min(100% - 28px, 1120px);
    }

    .cv-page {
        width: min(100% - 28px, 1120px);
        margin-top: 30px;
    }

    .home-page {
        width: min(100% - 28px, 1120px);
        margin-bottom: 48px;
    }

    .home-hero {
        grid-template-columns: 1fr;
        gap: 38px;
        min-height: 0;
        padding: 58px 6px;
    }

    .home-portrait {
        width: min(100%, 360px);
        margin: 0 auto;
    }

    .home-portrait img {
        height: 430px;
    }

    .home-affiliation {
        margin-bottom: 17px;
        font-size: 16px;
    }

    .home-hero h1 {
        font-size: 53px;
    }

    .home-fields {
        display: block;
        margin-top: 24px;
        font-size: 20px;
        line-height: 1.55;
    }

    .home-fields span {
        margin: 0 3px;
    }

    .home-introduction {
        font-size: 18px;
    }

    .home-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        margin-top: 28px;
    }

    .home-actions a {
        min-width: 0;
        padding: 10px 7px;
        font-size: 15px;
    }

    .home-section {
        padding: 50px 6px;
    }

    .home-section h2 {
        font-size: 34px;
    }

    .home-research-list a {
        grid-template-columns: 30px minmax(0, 1fr) 20px;
        gap: 10px;
        padding: 23px 0;
    }

    .home-research-list a:hover,
    .home-research-list a:focus-visible {
        padding-left: 5px;
    }

    .home-research-list strong {
        font-size: 19px;
    }

    .home-arrow {
        font-size: 19px;
    }

    .home-beyond {
        padding-top: 18px;
    }

    .home-beyond > h2 {
        font-size: 27px;
    }

    .golf-banner {
        display: block;
        padding: 28px 24px;
    }

    .golf-banner h3 {
        font-size: 22px;
    }

    .golf-banner p {
        font-size: 17px;
    }

    .golf-banner > a {
        display: inline-flex;
        margin-top: 22px;
    }

    .site-title {
        font-size: 26px;
    }

    .nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .nav a {
        background: rgba(255, 255, 255, 0.08);
        text-align: center;
    }

    .sidebar {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-img {
        grid-row: auto;
        justify-self: center;
        max-width: 180px;
    }

    .content {
        padding: 28px 20px 32px;
    }

    .content h1 {
        font-size: 34px;
    }

    .content h2 {
        font-size: 25px;
    }

    .content p,
    .section-intro {
        font-size: 18px;
    }

    ul {
        font-size: 18px;
        padding-left: 20px;
    }

    .button-row a {
        width: 100%;
        justify-content: center;
    }

    .research-hero,
    .research-project,
    .research-contact {
        padding-left: 20px;
        padding-right: 20px;
    }

    .project-heading {
        display: block;
    }

    .status-badge {
        display: inline-block;
        margin-top: 18px;
    }

    .method-steps,
    .research-jump {
        grid-template-columns: 1fr;
    }

    .result-panel,
    .finding-panel,
    .research-question {
        padding: 22px 20px;
    }

    .display-equation {
        font-size: 16px;
    }

    .equation-equivalence {
        font-size: 16px;
    }

    .research-sidebar {
        grid-template-columns: 82px 1fr;
        column-gap: 15px;
        text-align: left;
    }

    .research-sidebar .profile-img {
        grid-row: span 3;
        max-width: 82px;
    }

    .research-sidebar h1 {
        margin: 0;
        font-size: 25px;
    }

    .research-sidebar .subtitle,
    .research-sidebar .institution {
        margin: 2px 0;
        font-size: 15px;
    }

    .research-sidebar .research-jump {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 8px;
        padding-top: 12px;
    }

    .research-sidebar .research-jump a {
        padding: 7px 5px;
        font-size: 13px;
    }

    .cv-header {
        display: block;
        padding: 27px 22px;
    }

    .cv-header h1 {
        font-size: 38px;
    }

    .cv-contact {
        justify-items: start;
        margin-top: 22px;
    }

    .cv-toc {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-document {
        padding: 30px 22px 38px;
    }

    .cv-item-head {
        display: block;
    }

    .cv-item-head > p {
        text-align: left;
    }

    .coursework-grid,
    .course-chip-list,
    .cv-study-grid {
        grid-template-columns: 1fr;
    }

    .cv-study-card h3 {
        min-height: 0;
    }

    .cv-honor-list > div {
        display: block;
    }

    .cv-honor-list span {
        display: block;
        margin-top: 3px;
    }

    .skills-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 920px) {
    .golf-page {
        margin-top: 30px;
    }

    .golf-hero {
        grid-template-columns: 1fr;
    }

    .golf-hero-copy {
        padding: 52px 42px;
    }

    .golf-hero-figure {
        min-height: 560px;
    }

    .golf-introduction,
    .golf-mindset {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .golf-section-heading {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .golf-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 25px;
    }

    .golf-timeline::before {
        top: 8px;
        right: auto;
        bottom: 8px;
        left: 5px;
        width: 1px;
        height: auto;
    }

    .golf-timeline li {
        padding: 0 0 26px 18px;
    }

    .timeline-dot {
        position: absolute;
        top: 5px;
        left: -25px;
        margin: 0;
    }

    .golf-timeline p {
        margin-top: 6px;
        font-size: 16px;
    }

    .golf-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .golf-photo-grid figure:nth-child(2) {
        grid-column: span 2;
        grid-row: 1;
    }

    .golf-results-grid {
        grid-template-columns: 1fr;
    }

    .golf-results-grid h3 {
        min-height: 0;
    }

    .golf-closing {
        grid-template-columns: 1fr;
    }

    .golf-closing img {
        max-height: 580px;
    }
}

@media (max-width: 560px) {
    .golf-page {
        width: min(100% - 28px, 1180px);
        margin-bottom: 50px;
    }

    .golf-hero-copy {
        padding: 40px 24px 44px;
    }

    .golf-hero h1 {
        font-size: 47px;
    }

    .golf-hero-lead {
        margin-top: 22px;
        font-size: 18px;
    }

    .golf-hero-facts strong {
        display: block;
        width: auto;
        margin-bottom: 2px;
    }

    .golf-hero-figure {
        min-height: 470px;
    }

    .golf-introduction {
        gap: 24px;
        padding: 48px 6px;
    }

    .golf-introduction p,
    .golf-mindset-copy p {
        font-size: 18px;
    }

    .golf-journey {
        padding: 54px 6px 60px;
    }

    .golf-section-heading {
        margin-bottom: 32px;
    }

    .golf-section-heading h2,
    .golf-mindset h2,
    .golf-closing h2 {
        font-size: 35px;
    }

    .golf-photo-grid {
        grid-template-columns: 1fr;
    }

    .golf-photo-grid figure,
    .golf-photo-grid figure:nth-child(2) {
        grid-column: auto;
        grid-row: auto;
        height: 280px;
    }

    .golf-photo-grid figcaption {
        display: block;
    }

    .golf-photo-grid figcaption span {
        display: block;
        margin-top: 2px;
        text-align: left;
    }

    .golf-results {
        padding: 54px 22px 58px;
    }

    .golf-results-grid section {
        padding: 22px 18px;
    }

    .golf-mindset {
        gap: 30px;
        padding: 62px 6px;
    }

    .golf-closing {
        margin-top: 55px;
    }

    .golf-closing img {
        min-height: 290px;
        max-height: 370px;
    }

    .golf-closing > div {
        padding: 38px 24px 42px;
    }

    .golf-closing > div > p:last-child {
        font-size: 18px;
    }
}
