:root{
    --gold:#c9a24d;
    --black:#000;
    --dark:#111;
    --cream:#f4efe7;
    --text:#222;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:var(--cream);
    color:var(--text);
    font-family:"Source Sans 3", sans-serif;
}

/* HEADER */

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-hint {
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .25s ease, transform .25s ease;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b8944d;
    white-space: nowrap;
}

.logo-wrapper:hover .logo-hint {
    opacity: 1;
    transform: translateX(0);
}
header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 50px;
    background:#000;
    z-index:1000;
}

.logo{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:70px;
    text-decoration:none;
}

.logo img{
    width:46px;
    height:46px;
    object-fit:contain;
    display:block;
}

nav a{
    position:relative;
    color:white;
    text-decoration:none;
    margin-left:35px;
    font-family:"Source Sans 3", sans-serif;
    font-weight:400;
    text-transform:uppercase;
    font-size:13px;
    letter-spacing:2px;
    transition:color .3s ease;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:1px;
    background:var(--gold);
    transition:width .3s ease;
}

nav a:hover{
    color:var(--gold);
}

nav a:hover::after{
    width:100%;
}

/* HOME HERO */

.hero{
    position:relative;
    height:calc(100vh - 70px);
    margin-top:70px;
    overflow:hidden;
    display:flex;
    align-items:center;
    padding-left:10%;
    color:white;
}

.hero-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 25%;
    z-index:0;
}

.overlay{
    position:relative;
    z-index:1;
}

.overlay h1{
    font-family:"Cormorant Garamond", serif;
    font-weight:600;
    font-size:72px;
    letter-spacing:1px;
    margin:0 0 10px;
}

.overlay h2{
    font-family:"Source Sans 3", sans-serif;
    font-weight:300;
    color:var(--gold);
    letter-spacing:2px;
    margin:0;
}

/* ABOUT PAGE */

.about-page{
    margin-top:70px;
    padding:80px 8% 60px;
    background:var(--cream);
}

.about-header{
    max-width:1100px;
    margin:0 auto 50px;
}

.about-header h1{
    font-family:"Cormorant Garamond", serif;
    font-size:58px;
    font-weight:600;
    margin:0;
    color:#111;
}

.about-content{
    max-width:1100px;
    margin:0 auto;
    display:grid;
    grid-template-columns:320px 1fr;
    gap:60px;
    align-items:start;
}

.about-photo img{
    width:100%;
    display:block;
    border-radius:4px;
    object-fit:cover;
    box-shadow:0 18px 40px rgba(0,0,0,.18);
}

.about-text p{
    font-size:19px;
    line-height:1.75;
    margin:0 0 24px;
}

.about-text strong{
    font-weight:600;
}

.about-text hr{
    border:0;
    border-top:1px solid #d8cdbd;
    margin:42px 0 28px;
}

.ai-note{
    color:#5b5144;
    font-size:17px !important;
}
/* HOME SECTION CARDS */

/* ===========================================================
   HOME PANELS
   =========================================================== */

.home-cards{
    max-width:1300px;
    margin:70px auto;
    padding:0 40px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.home-card{

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    min-height:270px;

    padding:42px;

    text-decoration:none;

    color:#222;

    background:white;

    border:1px solid #e2ddd4;

    transition:.35s;

}

.gold-line{

    width:70px;

    height:2px;

    background:var(--gold);

    margin-bottom:28px;

}

.home-card h2{

    font-family:"Cormorant Garamond", serif;

    font-size:38px;

    font-weight:600;

    margin:0 0 20px;

}

.home-card p{

    font-size:18px;

    line-height:1.8;

    color:#555;

    flex:1;

}

.home-card span{

    margin-top:20px;

    font-size:14px;

    letter-spacing:2px;

    text-transform:uppercase;

    color:var(--gold);

}

.home-card:hover{

    transform:translateY(-8px);

    border-color:var(--gold);

    box-shadow:0 20px 45px rgba(0,0,0,.10);

}

.home-card:hover .gold-line{

    width:120px;

    transition:.35s;

}

/* QUOTE */

.quote{
    text-align:center;
    padding:60px 8%;
    background:#f8f3ec;
    border-top:1px solid #ddd2c5;
}

.quote blockquote{
    font-family:"Cormorant Garamond", serif;
    font-size:30px;
    font-style:italic;
    line-height:1.4;
    max-width:820px;
    margin:0 auto 18px;
}

.quote p{
    margin:0;
    font-size:16px;
    color:#555;
}

/* RESPONSIVE */

@media(max-width:850px){
    header{
        padding:0 25px;
    }

    nav a{
        margin-left:18px;
        font-size:12px;
    }

    .overlay h1{
        font-size:54px;
    }

    .about-content{
        grid-template-columns:1fr;
    }

    .about-photo{
        max-width:360px;
    }
.home-cards{
    grid-template-columns:1fr;
    padding:45px 8%;
}
.home-cards{

grid-template-columns:1fr;

}
}

/* MATHEMATICS SHARED CONTENT */

.math-section{
    max-width:1100px;
    margin:0 auto;
    background:white;
    border:1px solid #e2ddd4;
    padding:45px;
}

.publication-list{
    padding-left:22px;
}

.more-note{
    color:#777;
    font-style:italic;
}

/* PUBLICATIONS */
.section-intro{
    font-size:18px;
    color:#666;
    margin:0 0 35px;
}
.publications-wrapper{
    display:flex;
    flex-direction:column;
}
.publication-item{
    display:grid;
    grid-template-columns:70px 1fr;
    gap:28px;
    padding:32px 0;
    border-top:1px solid #ddd4c7;
}
.publication-item:first-child{
    border-top:none;
    padding-top:0;
}
.pub-number{
    font-family:"Cormorant Garamond", serif;
    font-size:30px;
    color:var(--gold);
    line-height:1;
}
.pub-content h3{
    font-family:"Cormorant Garamond", serif;
    font-size:22px;
    font-weight:600;
    margin:0 0 12px;
    color:#222;
}
.pub-authors{
    font-size:15px;
    margin:0 0 8px;
    color:#333;
}
.pub-authors strong{
    font-weight:600;
}
.pub-journal{
    font-size:15px;
    margin:0 0 18px;
    color:#666;
    line-height:1.6;
}
.pub-links a{
    margin-right:22px;
    font-size:12px;
    letter-spacing:0.3px;
    text-decoration:none;
    color:var(--gold);
}
.pub-links span{
    color:#999;
    margin:0 6px;
}

.pub-links a:hover{
    text-decoration:underline;
}
@media(max-width:850px){
    .publication-item{
        grid-template-columns:1fr;
        gap:12px;
    }
    .pub-number{
        font-size:22px;
    }
}

/* ------------------------------------------------ */
/*                 TEACHING PAGE                     */
/* ------------------------------------------------ */

.teaching-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:32px;

}

.teaching-card{

    border-top:2px solid var(--gold);
    padding-top:22px;

}

.teaching-card h3{

    font-family:"Cormorant Garamond",serif;
    font-size:27px;
    margin-bottom:16px;

}

.teaching-card ul{

    margin:0;
    padding-left:22px;

}

.teaching-card li{

    margin-bottom:10px;
    line-height:1.7;

}

.doctoral-list{

    display:grid;
    gap:32px;

}

.doctoral-list article{

    border-left:3px solid var(--gold);
    padding-left:26px;

}

.doctoral-list h3{

    font-family:"Cormorant Garamond",serif;
    font-size:27px;
    margin-bottom:12px;

}

.doctoral-list p{

    color:#666;
    line-height:1.8;

}


/* ---------- DOWNLOAD CARD ---------- */

.download-card{

    max-width:700px;

    border:1px solid #ddd;

    border-radius:10px;

    padding:35px;

    background:#faf8f5;

}

.download-card h3{

    font-family:"Cormorant Garamond",serif;
    font-size:30px;
    margin-bottom:12px;

}

.download-card p{

    color:#666;
    line-height:1.8;
    margin-bottom:25px;

}

.download-button{

    display:inline-block;

    padding:12px 26px;

    border:1px solid var(--gold);

    color:var(--gold);

    text-decoration:none;

    transition:.3s;

}

.download-button:hover{

    background:var(--gold);

    color:white;

}


@media(max-width:850px){

    .teaching-grid{

        grid-template-columns:1fr;

    }

}
/* TEACHING RECORD */

.teaching-record{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.teaching-year{
    border-left:3px solid var(--gold);
    padding-left:26px;
}

.teaching-year h3{
    font-family:"Cormorant Garamond", serif;
    font-size:28px;
    margin:0 0 14px;
}

.teaching-year ul{
    margin:0;
    padding-left:22px;
}

.teaching-year li{
    font-size:16px;
    line-height:1.7;
    margin-bottom:6px;
}
.download-links{

    display:flex;
    align-items:center;
    gap:24px;
    flex-wrap:wrap;

}

.secondary-link{

    color:#666;
    text-decoration:none;
    transition:.3s;

}

.secondary-link:hover{

    color:var(--gold);

}

.publication-note {
    display: block;
    font-size: 0.82rem;
    color: #777;
    margin-top: -0.25rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.teaching-note {
    font-size: 0.82rem;
    color: #777;
    margin-top: -0.25rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.official-title {
    color: #666;
}

.course-links {
    font-size: 0.82rem;
    margin-top: 0.25rem;
    color: #777;
}

.course-links a {
    color: inherit;
    text-decoration: underline;
}

.course-links span {
    margin: 0 0.35rem;
    color: #aaa;
}

.official-title {
    color: #777;
    font-size: 0.92em;
}
.course-page {
    max-width: 900px;
    margin: 0 auto;
}

.course-subtitle {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.course-intro {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.course-section {
    margin-bottom: 1.6rem;
}

.course-section h3 {
    margin-bottom: 0.35rem;
}

.course-section p {
    margin-top: 0;
    line-height: 1.7;
}

.hours {
    font-weight: normal;
    color: #777;
    font-size: 0.9em;
}

.course-references {
    line-height: 1.7;
}

.course-downloads {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.repertoire-table-wrap {
    overflow-x: auto;
}

.repertoire-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.96rem;
    line-height: 1.45;
}

.repertoire-table th {
    width: 220px;
    text-align: left;
    vertical-align: top;
    font-weight: 600;
    padding: 0.75rem 1rem 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.repertoire-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

@media (max-width: 700px) {
    .repertoire-table th,
    .repertoire-table td {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }

    .repertoire-table th {
        border-bottom: none;
        padding-bottom: 0.1rem;
    }

    .repertoire-table td {
        padding-top: 0;
    }
}

.music-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.music-hero {
    max-width: 760px;
    margin-bottom: 3rem;
}

.music-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.2rem;
    margin-bottom: 0.2rem;
}

.music-card {
    display: block;
    text-decoration: none;
    background: transparent;
    min-height: 0;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.music-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.music-card img {
    display: block;
    width: 100%;
    height: auto;
}

/* Banner In Memoriam */

.music-memoriam-card {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-decoration: none;
    overflow: hidden;
}

.music-memoriam-card img {
    display: block;
    width: 100%;
    height: 280px;      /* oppure 170px, 160px... */
    object-fit: cover;
    object-position: left 55%;
}

.recordings-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.recordings-intro {
    max-width: 780px;
    margin-bottom: 3rem;
}

.recordings-intro h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
}

.recordings-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.recordings-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.recording-item {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
    overflow: hidden;
}


.recording-details {
    padding: 2rem 2.2rem;
}

.recording-label {
    margin: 0 0 0.6rem;
    color: #9b6a17;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.recording-details h2 {
    margin: 0 0 0.5rem;
    font-size: 1.65rem;
    line-height: 1.3;
}

.recording-subtitle {
    margin: 0 0 1.4rem;
    color: #555;
    font-style: italic;
}

.recording-details > p:last-child {
    margin-bottom: 0;
    line-height: 1.65;
}

.recording-data {
    margin: 1.5rem 0;
}

.recording-data div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.recording-data dt {
    font-weight: 600;
}

.recording-data dd {
    margin: 0;
}

.forthcoming-recordings {
    margin-top: 3rem;
    padding: 2rem;
    background: #0d2948;
    color: #ffffff;
}

.forthcoming-recordings h2 {
    margin: 0 0 0.7rem;
}

.forthcoming-recordings p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 760px) {

    .recording-item {
        grid-template-columns: 1fr;
    }

    .recording-cover img {
        width: 220px;
        max-width: calc(100% - 2rem);
    }

    .recording-data div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
}

.recording-cover {
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.recording-cover img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}

.projects-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.projects-intro {
    max-width: 820px;
    margin-bottom: 3.5rem;
}

.projects-intro h1 {
    margin: 0 0 1rem;
    font-size: 3rem;
}

.projects-intro p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
}

.projects-section {
    margin-bottom: 3.5rem;
}

.projects-section-heading {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #c58a22;
}

.projects-kicker {
    margin: 0 0 0.35rem;
    color: #9b6a17;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.projects-section-heading h2 {
    margin: 0;
    font-size: 2rem;
}

.projects-description {
    max-width: 880px;
    margin: 0 0 1.5rem;
    line-height: 1.7;
}

.projects-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.projects-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.projects-table th,
.projects-table td {
    padding: 1rem 1.1rem;
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.projects-table th {
    background: #0d2948;
    color: #ffffff;
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.projects-table th:first-child {
    width: 23%;
}

.projects-table th:nth-child(2) {
    width: 37%;
}

.projects-table tbody tr:last-child td {
    border-bottom: none;
}

.projects-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.projects-table-two-columns th:first-child {
    width: 32%;
}

.projects-table-two-columns th:nth-child(2) {
    width: 68%;
}

@media (max-width: 760px) {

    .projects-page {
        padding: 3rem 1.2rem;
    }

    .projects-intro h1 {
        font-size: 2.4rem;
    }

    .projects-section-heading h2 {
        font-size: 1.65rem;
    }

    .projects-table {
        min-width: 720px;
    }

    .projects-table-two-columns {
        min-width: 560px;
    }
}

/* ===========================================================
   MATHEMATICS LANDING PAGE
   =========================================================== */

.math-page {
    max-width: 1400px;
    margin: 70px auto 0;
    padding: 3rem 2rem 5rem;
}

.math-hero {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.math-hero h1 {
    font-size: 3rem;
    margin: 0 0 1rem;
}

.math-hero p {
    max-width: 720px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.research-box {
    margin-bottom: 0.2rem;
    padding: 2.2rem 2.8rem;
    background: #0d2948;
    color: #fff;
}

.research-box h2 {
    margin: 0 0 1.5rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    text-align: center;
}

.research-box ul {
    max-width: 900px;
    margin: 0 auto;
    columns: 2;
    column-gap: 3rem;
}

.research-box li {
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

.math-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem;
    margin-bottom: 0.2rem;
}

.math-grid .music-card {
    min-width: 0;
}

.math-grid .music-card img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .math-grid {
        grid-template-columns: 1fr;
    }

    .research-box ul {
        columns: 1;
    }
}

@media (max-width: 600px) {
    .math-page {
        padding: 2.5rem 1.2rem 4rem;
    }

    .math-hero h1 {
        font-size: 2.4rem;
    }

    .research-box {
        padding: 1.8rem 1.4rem;
    }
}
