:root{
    --ink:#1b413f;
    --muted:#3c4947;
    --paper:#d4eef0;
    --white:#e7d1c5;
    --line:#59c5b3;
    --sage:#e0afdc;
    --green:#790c4b;
    --lime:#cbdc72;
    --serif:"Source Serif 4", Georgia, serif;
    --sans:"Inter", Arial, sans-serif;
    --max:1180px;
}


 /*  Global styles that apply to the entire website */
*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:92px;
}

body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:var(--sans);
    font-size:16px;
    line-height:1.65;
}

img{
    display:block;
    max-width:100%;
}

a{
    color:inherit;
}

.skip-link{
    position:absolute;
    left:-999px;
    top:8px;
    background:var(--ink);
    color:rgb(49, 11, 11);
    padding:.6rem 1rem;
    z-index:20;
}

.skip-link:focus{
    left:8px;
}

/* ==========================================================
   HEADER / NAVIGATION BAR
========================================================== */

.site-header {
    height: 100px;
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0 max(24px, calc((100vw - var(--max)) / 2));

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 10;

    background: rgba(142, 213, 219, 0.96);
    border-bottom: 1px solid transparent; 
    backdrop-filter: blur(12px);

    transition: border-color 0.2s, box-shadow 0.2s;
}


/* ==========================================================
   HEADER AFTER SCROLLING
========================================================== */

.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 5px 20px rgba(112, 70, 70, 0.06);
}


/* ==========================================================
   LOGO / SITE IDENTITY
========================================================== */

.identity {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    line-height: 1.2;
}


/* Website Name */

.identity strong {
    font-family: var(--serif);
    font-size: 1.5rem;
}


/* Website Subtitle */

.identity small {
    display: block;

    color: var(--muted);
    font-size: 1rem;

    margin-top: 3px;
    letter-spacing: 0.03em;
}


/* ==========================================================
   CIRCULAR MONOGRAM (Initials)
========================================================== */

.monogram {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 2px solid var(--ink);
    border-radius: 50%;

    font-family: var(--serif);
    font-weight: 800;
}


/* ==========================================================
   NAVIGATION MENU
========================================================== */

.site-header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}


/* Navigation Links */

.site-header nav a {
    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 600;
}


/* Hover Effect */

.site-header nav a:hover {
    color: var(--green);
}


/* ==========================================================
   CONTACT BUTTON
========================================================== */

.nav-contact {
    border: 1px solid var(--ink);
    padding: 9px 15px;

    border-radius: 3px;
}


/* ==========================================================
   MOBILE NAVIGATION BUTTON
========================================================== */

.nav-toggle {
    display: none;

    background: none;
    border: 1px solid var(--ink);

    padding: 7px 12px;
}


/* ==========================================================
   HERO SECTION
========================================================== */

.hero {
    max-width: var(--max);
    min-height: 610px;

    margin: auto;
    padding: 55px 24px 75px;

    display: grid;
    grid-template-columns: 1.45fr 0.65fr;
    gap: 80px;
    align-items: center;
}


/* ==========================================================
   HERO SUBTITLE (Eyebrow)
========================================================== */

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;

    font-size: 1.5rem;
    font-weight: 1600;
    color: var(--green);

    margin: 0 0 20px;
}


/* ==========================================================
   MAIN HERO TITLE
========================================================== */

.hero h1 {
    font: 300 clamp(1.7rem, 4.8vw, 0.7rem) / 1.02 var(--serif);

    letter-spacing: -0.04em;
    margin: 0;

    max-width: 1800px;
}


/* Highlighted Text */

.hero h1 em {
    color: var(--green);
    font-weight: 1500;
}


/* ==========================================================
   INTRODUCTION PARAGRAPH
========================================================== */

.lead {
    max-width: 710px;

    color: var(--muted);
    font-size: 1.06rem;

    margin: 26px 0;
}


/* ==========================================================
   HERO BUTTONS
========================================================== */

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* Shared Button Style */

.button {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 12px 18px;

    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;

    border-radius: 2px;
}


/* Primary Button */

.primary {
    background: var(--green);
    color: rgb(255, 253, 253);
}


/* Secondary Button */

.secondary {
    border: 1px solid var(--line);
    background: rgb(145, 213, 223);
}


/* Hover Animation */

.button:hover {
    transform: translateY(-1px);
}


/* ==========================================================
   HERO FACTS / STATISTICS
========================================================== */

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin: 42px 0 0;
    padding-top: 22px;

    border-top: 1px solid var(--line);
}


/* Individual Fact */

.hero-facts div {
    border-right: 1px solid var(--line);
}


/* Remove Border from Last Item */

.hero-facts div:last-child {
    border: 0;
}


/* Fact Title */

.hero-facts dt {
    font: 600 1.08rem var(--serif);
}


/* Fact Description */

.hero-facts dd {
    margin: 4px 0 0;

    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.4;

    max-width: 150px;
}




/* ==========================================================
   STATUS CARD UNDER IMAGE
========================================================== */

.portrait-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    background: var(--ink);
    color: white;

    padding: 18px;
}


/* Status Text */

.portrait-note p {
    margin: 0;

    font-size: 0.72rem;
    line-height: 1.5;
}


/* Green Status Dot */

.status-dot {
    width: 8px;
    height: 8px;

    margin-top: 5px;

    background: var(--lime);
    border-radius: 50%;

    box-shadow: 0 0 0 4px rgba(203, 220, 114, 0.13);
}


/* ==========================================================
   ABOUT SECTION
========================================================== */

.about-section {
    border-top: 1px solid var(--line);
}


/* ==========================================================
   ABOUT INTRODUCTION
========================================================== */

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}


/* About Heading */

.about-intro h2 {
    max-width: 560px;
}


/* ==========================================================
   ABOUT TEXT
========================================================== */

.about-copy p {
    color: var(--muted);
    margin: 0 0 18px;
}


/* Lead Paragraph */

.about-copy .about-lead {
    font: 500 1.35rem / 1.45 var(--serif);
    color: var(--ink);
}


/* ==========================================================
   TEXT LINK
========================================================== */

.text-link {
    display: inline-flex;
    gap: 18px;

    margin-top: 12px;

    color: var(--green);
    font-size: 0.78rem;
    font-weight: 600;

    text-decoration: none;

    border-bottom: 1px solid var(--green);
    padding-bottom: 3px;
}


/* ==========================================================
   PRINCIPLES / FEATURE CARDS
========================================================== */

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 75px;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}


/* Individual Card */

.principles article {
    padding: 28px;
    border-right: 1px solid var(--line);
}


/* Remove Border from Last Card */

.principles article:last-child {
    border: 0;
}


/* Icon / Number */

.principles span {
    font: 600 1.4rem var(--serif);
    color: #14b57f;
}


/* Card Heading */

.principles h3 {
    font: 600 1.2rem var(--serif);
    margin: 28px 0 8px;
}


/* Card Description */

.principles p {
    color: var(--muted);
    font-size: 0.8rem;
    margin: 0;
}


/* ==========================================================
   RESEARCH QUESTION SECTION
========================================================== */

.research-question {
    background: var(--green);
    color: rgb(114, 192, 200);

    padding: 80px max(24px, calc((100vw - var(--max)) / 2));
}


/* Small Heading (Eyebrow) */

.research-question .eyebrow {
    color: var(--lime);
}


/* ==========================================================
   RESEARCH QUOTE
========================================================== */

blockquote {
    font: 500 clamp(2rem, 4vw, 3.6rem) / 1.18 var(--serif);

    letter-spacing: -0.025em;

    margin: 0;
    max-width: 980px;
}

/* ==========================================================
   GENERAL SECTION LAYOUT
========================================================== */

.section {
    padding: 95px max(24px, calc((100vw - var(--max)) / 2));
}


/* ==========================================================
   SECTION HEADER
========================================================== */

.section-heading {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;
    align-items: end;

    margin-bottom: 50px;
}


/* Section Titles */

.section h2,
.contact-section h2 {
    font: 600 clamp(2.1rem, 3.3vw, 3.35rem) / 1.08 var(--serif);

    letter-spacing: -0.03em;
    margin: 0;
}


/* Section Description */

.section-heading > p {
    margin: 0;

    color: var(--muted);
    max-width: 500px;
}


/* ==========================================================
   RESEARCH / PROJECT AGENDA GRID
========================================================== */

.agenda-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}


/* ==========================================================
   INDIVIDUAL AGENDA CARD
========================================================== */

.agenda-card {
    display: flex;
    flex-direction: column;

    min-height: 400px;

    padding: 34px 30px;

    border-right: 1px solid var(--line);
}


/* Remove Border from Last Card */

.agenda-card:last-child {
    border: 0;
}


/* Featured Card */

.agenda-card.featured {
    background: var(--white);
}


/* ==========================================================
   CARD ELEMENTS
========================================================== */

/* Card Number */

.card-index {
    font-family: var(--serif);
    color: #4b9fa5;
}


/* Small Category Label */

.card-label {
    text-transform: uppercase;

    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;

    color: var(--green);

    margin: 34px 0 12px;
}


/* Card Heading */

.agenda-card h3 {
    font: 600 1.5rem / 1.22 var(--serif);

    margin: 0 0 20px;
}


/* Card Description */

.agenda-card > p:not(.card-label) {
    color: var(--muted);
    font-size: 0.86rem;
}


/* ==========================================================
   TAGS
========================================================== */

.tags {
    list-style: none;

    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin: auto 0 0;
    padding: 25px 0 0;
}


/* Individual Tag */

.tags li {
    font-size: 0.64rem;

    padding: 5px 8px;

    border: 1px solid var(--line);
    background: var(--paper);
}

/* ==========================================================
   TINTED SECTION BACKGROUND
========================================================== */

.tinted {
    background: #f0f1f0;
}


/* ==========================================================
   TIMELINE
========================================================== */

.timeline {
    border-top: 1px solid #c9d2c9;
}


/* ==========================================================
   TIMELINE ITEM
========================================================== */

.timeline article {
    display: grid;
    grid-template-columns: 180px 1fr;

    padding: 32px 0;

    border-bottom: 1px solid #c9d2c9;
}


/* ==========================================================
   YEAR / DATE
========================================================== */

.timeline time {
    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 0.08em;

    color: var(--green);
}


/* ==========================================================
   TIMELINE TITLE
========================================================== */

.timeline h3 {
    font: 600 1.35rem var(--serif);

    margin: 0;
}


/* ==========================================================
   ORGANIZATION / POSITION
========================================================== */

.timeline .meta {
    color: var(--green);

    font-size: 0.78rem;

    margin: 3px 0 12px;
}


/* ==========================================================
   TIMELINE DESCRIPTION
========================================================== */

.timeline article div > p:last-child {
    color: var(--muted);

    font-size: 0.88rem;

    margin: 0;
    max-width: 760px;
}

/* ==========================================================
   METHODS GRID
========================================================== */

.methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 1px;

    background: var(--line);
    border: 1px solid var(--line);
}


/* ==========================================================
   METHOD CARD
========================================================== */

.methods-grid article {
    background: var(--paper);

    padding: 30px;
    min-height: 250px;
}


/* ==========================================================
   METHOD NUMBER / ICON
========================================================== */

.methods-grid span {
    font: 600 2rem var(--serif);
    color: #a0aaa6;
}


/* ==========================================================
   METHOD TITLE
========================================================== */

.methods-grid h3 {
    font: 600 1.25rem var(--serif);

    margin: 50px 0 10px;
}


/* ==========================================================
   METHOD DESCRIPTION
========================================================== */

.methods-grid p {
    font-size: 0.82rem;
    color: var(--muted);

    margin: 0;
}


/* ==========================================================
   EDUCATION SECTION
========================================================== */

.education {
    padding-top: 20px;
}


/* ==========================================================
   DEGREE GRID
========================================================== */

.degree-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


/* ==========================================================
   DEGREE CARD
========================================================== */

.degree-grid article {
    background: white;

    padding: 28px;
    min-height: 250px;

    border-top: 3px solid var(--green);
}


/* ==========================================================
   DEGREE YEAR
========================================================== */

.degree-grid time {
    font-size: 0.68rem;
    font-weight: 600;

    color: var(--green);
}


/* ==========================================================
   DEGREE TITLE
========================================================== */

.degree-grid h3 {
    font: 600 1.4rem / 1.25 var(--serif);

    margin: 38px 0 10px;
}


/* ==========================================================
   UNIVERSITY & DESCRIPTION
========================================================== */

.degree-grid p,
.degree-grid span {
    font-size: 0.78rem;
    color: var(--muted);
}


/* ==========================================================
   DEGREE STATUS / HIGHLIGHT
========================================================== */

.degree-grid span {
    display: block;

    margin-top: 18px;
    color: var(--green);
}

/* ==========================================================
   CURRICULUM VITAE (CV) SECTION
========================================================== */

.cv-section {
    background: #e9eee8;
}


/* ==========================================================
   CV HEADER
========================================================== */

.cv-header {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;
    align-items: end;

    margin-bottom: 55px;
}


/* ==========================================================
   CV INTRODUCTION
========================================================== */

.cv-actions > p {
    color: var(--muted);

    margin: 0 0 20px;
    max-width: 500px;
}


/* ==========================================================
   CV GRID
========================================================== */

.cv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 1px;

    background: #c9d2c9;
    border: 1px solid #c9d2c9;
}


/* ==========================================================
   CV CARD
========================================================== */

.cv-grid article {
    background: var(--paper);

    padding: 30px;
    min-height: 240px;
}


/* ==========================================================
   CARD LABEL
========================================================== */

.cv-label {
    text-transform: uppercase;
    letter-spacing: 0.13em;

    color: var(--green);

    font-size: 0.65rem;
    font-weight: 600;

    margin: 0 0 38px;
}


/* ==========================================================
   CARD TITLE
========================================================== */

.cv-grid h3 {
    font: 600 1.5rem / 1.25 var(--serif);

    margin: 0 0 8px;
}


/* ==========================================================
   CARD DESCRIPTION & DATE
========================================================== */

.cv-grid article > p:not(.cv-label),
.cv-grid time {
    color: var(--muted);
    font-size: 0.78rem;
}


/* ==========================================================
   LIST CONTAINER
========================================================== */

.cv-grid ul {
    list-style: none;

    margin: 0;
    padding: 0;
}


/* ==========================================================
   LIST ITEM
========================================================== */

.cv-grid li {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 9px 0;

    border-bottom: 1px solid var(--line);

    font-size: 0.78rem;
}


/* Right-side Text */

.cv-grid li span {
    color: var(--muted);
    white-space: nowrap;
}


/* ==========================================================
   SIMPLE LIST
========================================================== */

.cv-grid .cv-plain-list li {
    display: block;
}


/* ==========================================================
   FOOTNOTE
========================================================== */

.cv-note {
    margin: 20px 0 0;

    color: var(--muted);
    font-size: 0.7rem;
}

/* ==========================================================
   CONTACT SECTION
========================================================== */

.contact-section {
    margin-top: 40px;

    background: var(--ink);
    color: white;

    padding: 90px max(24px, calc((100vw - var(--max)) / 2));

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}


/* ==========================================================
   CONTACT SECTION SUBTITLE
========================================================== */

.contact-section .eyebrow {
    color: var(--lime);
}


/* ==========================================================
   PROJECTS
========================================================== */

.project-grid{

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

    gap:24px;

}


.project-card{

    background:var(--white);

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

    padding:32px;

    transition:.25s;

}


.project-card:hover{

    transform:translateY(-6px);

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}


.project-category{

    display:inline-block;

    color:var(--green);

    font-size:.70rem;

    text-transform:uppercase;

    letter-spacing:.10em;

    font-weight:600;

    margin-bottom:20px;

}


.project-card h3{

    font:600 1.5rem var(--serif);

    margin:0 0 16px;

}


.project-card p{

    color:var(--muted);

    margin-bottom:24px;

    line-height:1.7;

}


.project-card a{

    color:var(--green);

    text-decoration:none;

    font-weight:600;

}


.project-card a:hover{

    text-decoration:underline;

}


/* ==========================================================
   CONTACT DESCRIPTION
========================================================== */

.contact-copy > p {
    color: #bac7c3;

    margin: 0 0 25px;
    max-width: 560px;
}


/* ==========================================================
   LIGHT BUTTON
========================================================== */

.light {
    background: var(--lime);
    color: var(--ink);

    font-size: 0.85rem;
}


/* ==========================================================
   LOCATION TEXT
========================================================== */

.contact-copy .location {
    margin-top: 20px;

    font-size: 0.7rem;
}


/* ==========================================================
   FOOTER
========================================================== */

footer {
    max-width: var(--max);

    margin: auto;
    padding: 35px 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 0.72rem;
}


/* Footer Paragraph */

footer p {
    margin: 0;
}


/* Secondary Footer Text */

footer span {
    color: var(--muted);
}

/* ==========================================================
   CONTACT LINKS
========================================================== */

.contact-links{

    margin-top:30px;

    display:flex;
    flex-wrap:wrap;

    gap:18px;

}


.contact-links a{

    color:var(--lime);

    text-decoration:none;

    font-size:.82rem;

    font-weight:600;

    transition:.2s;

}


.contact-links a:hover{

    color:white;

    text-decoration:underline;

}


/* ==========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   Applies when screen width is 900px or smaller
========================================================== */

@media (max-width: 900px) {

    /* ======================================================
       MOBILE NAVIGATION
    ====================================================== */

    .site-header nav {
        display: none;

        position: absolute;
        top: 78px;
        left: 16px;
        right: 16px;

        background: white;
        padding: 22px;

        box-shadow: 0 10px 30px #0002;
        z-index: 5;

        flex-direction: column;
        align-items: stretch;
    }

    /* Show menu when JavaScript adds "open" class */

    .site-header nav.open {
        display: flex;
    }

    /* Show hamburger button */

    .nav-toggle {
        display: block;
    }


    /* ======================================================
       HERO SECTION
    ====================================================== */

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

        gap: 50px;

        padding-top: 45px;
    }

    .portrait-card {
        max-width: 370px;
    }


    /* ======================================================
       SINGLE COLUMN LAYOUTS
    ====================================================== */

    .section-heading,
    .contact-section,
    .about-intro,
    .cv-header {

        grid-template-columns: 1fr;
        gap: 25px;
    }


    /* ======================================================
       AGENDA SECTION
    ====================================================== */

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

    .agenda-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);

        min-height: 330px;
    }


    /* ======================================================
       METHODS & EDUCATION
    ====================================================== */

    .methods-grid,
    .degree-grid {
        grid-template-columns: 1fr 1fr;
    }

    .education {
        padding-top: 80px;
    }

}

/* ==========================================================
   RESPONSIVE DESIGN - MOBILE PHONES
   Applies when screen width is 600px or smaller
========================================================== */

@media (max-width: 600px) {

    /* ======================================================
       GLOBAL SETTINGS
    ====================================================== */

    html {
        scroll-padding-top: 78px;
    }


    /* ======================================================
       HEADER
    ====================================================== */

    .identity small {
        display: none;
    }


    /* ======================================================
       HERO SECTION
    ====================================================== */

    .hero {
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 12vw, 3rem);
    }

    .lead {
        font-size: 1rem;
    }


    /* ======================================================
       RESEARCH QUOTE
    ====================================================== */

    .research-question blockquote {
        font-size: 1.85rem;
    }


    /* ======================================================
       HERO FACTS
    ====================================================== */

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

    .hero-facts div {
        border-right: 0;
        border-bottom: 1px solid var(--line);

        padding-bottom: 12px;
    }


    /* ======================================================
       GENERAL SECTIONS
    ====================================================== */

    .section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .section h2,
    .contact-section h2 {
        font-size: 2.25rem;
    }


    /* ======================================================
       PRINCIPLES & CV GRID
    ====================================================== */

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

    .principles article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }


    /* ======================================================
       TIMELINE
    ====================================================== */

    .timeline article {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    /* ======================================================
       METHODS & EDUCATION
    ====================================================== */

    .methods-grid,
    .degree-grid {
        grid-template-columns: 1fr;
    }


    /* ======================================================
       CONTACT SECTION
    ====================================================== */

    .contact-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }


    /* ======================================================
       FOOTER
    ====================================================== */

    footer {
        align-items: flex-end;
        gap: 20px;
    }

}