/*google font for julias sans*/
@import url('https://fonts.googleapis.com/css2?family=Julius+Sans+One&display=swap');

/*google font for cormorant garamond*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&display=swap');

html {
    scroll-behavior: smooth;
}

/*html validator requires header in section*/
.visually-hidden {
    position: absolute;
    left: -9999px;
}

body{
    background-color: #FAFAFA;
}

.navheader {
    background-color: #FAFAFA;
    border-bottom: 1px solid #E5E7EB;   
}

.navheader nav {
    padding-top: 62px;
    padding-bottom: 62px;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;           
}

.navlinks {
    list-style: none;
    display: flex;
    justify-content: center; 
    gap: 205px;             
    margin: 0;
    padding: 0;
}

.navlinks a {
    font-family: "Julius Sans One", sans-serif;
    color: #1F2937;
    text-decoration: none;
    font-size: 30px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease;
}

.navlinks a:hover {
    transform: translateY(-3px);
}
.navlinks a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 1px;
    background-color: #1F2937;
    transition: width 0.25s ease;
}

.navlinks a:hover::after {
    width: 100%;
}

/*----------------Home Hero Section---------------------*/

.home-hero {
    display: flex;
    justify-content: center;
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;      
}

.hero-headshot {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E5E7EB;
}

.hero-text {
    text-align: left;
}

/*----------------Hero Section---------------------*/

.hero-section {
    background: #FFFDFD; 
    padding: 80px 0;
    text-align: center;
    margin-top: 40px;  
}

.hero-name {
    font-family: "Julius Sans One", sans-serif;
    font-size: 42px;
    letter-spacing: 1px;
    color: #1F2937;
    margin-bottom: 25px;
    text-align: center; /*keep until headshot is added*/
}

.hero-info {
    font-family: "Julius Sans One", sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: #1F2937;
    margin-bottom: 20px;
    text-align: center; /*keep until headshot is added*/
}

.hero-contactlink {
    font-family: "Julius Sans One", sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: #1F2937;
    text-decoration: none;
    padding-left: 100px; /*keep until headshot is added*/
}

/* ------------------Footer------------------ */

.footer {
    background-color: #FAFAFA;     
    padding: 32px 0;
    margin-top: 30px;     
    border-top: 1px solid #E5E7EB;        
}

.footer-inner {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;   
    align-items: center;
}

.footer-item {
    font-family: "Cormorant Garamond", sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: #1F2937;
}

.footer-link {
    color: #1F2937;
    text-decoration: none;
}

.footer-item a,
.git-link {
    color: #1F2937;       
    text-decoration: none; 
}

.footer-item a:hover,
.git-link:hover {
    text-decoration: underline;
}

/* ------------------About Section------------------ */

.about-professional-section {
    background-color: #FAFAFA;
    padding: 120px 0 140px;
}

.about-professional-inner {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-professional-title {
    font-family: "Julius Sans One", sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    color: #1F2937;
    margin-bottom: 25px;
}

.about-professional-text {
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #000000;
    letter-spacing: 0.9px;
    margin-bottom: 18px;
}

.featured_work {
    margin-top: 40px;
    background-color: #FAFAFA;
    padding: 80px 0 120px;
    border-top: 1px solid #E5E7EB;        
}

.featured_work-inner {
    width: 90%;
    max-width: 1100px;                    
    margin: 0 auto;
}

.featured_work-title {
    font-family: "Julius Sans One", sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    color: #1F2937;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;                   
    text-decoration: none;
}

/* ------------------Projects/Research Page------------------ */

.section-header {
    max-width: 1200px;          
    margin: 140px auto 18px;    
    padding: 0 24px;            
    transform: translateX(-50px);
}

.section-title {
    font-family: "Julius Sans One", sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1F2937;

    display: inline-block;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #b7b8bb;
}

.section-header + .project-cards {
    margin-top: 0;              
}

.project-cards:not(.research-cards) {
    margin-bottom: 80px;
}

.project-card-link {
    text-decoration: none;   
    color: inherit;         
    display: block;         
}

.project-card-link:hover {
    cursor: pointer;         
}
.project-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
    column-gap: 140px;
    row-gap: 40px;
    justify-items: center;
    margin: 140px auto 200px;
    max-width: 1200px;
    padding: 0 24px;
}

.project-card {
    width: 360px;
    height: 480px;
    background-color: #E5E7EB; 
    border-radius: 30px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.project-card:hover {
    background-color: #aeb2bb;  
    transform: translateY(-4px); 
}

.project-image {
    width: 100%;         
    height: 200px;       
    object-fit: cover;    
    border-radius: 18px;
    margin-bottom: 5px;
    display: block;       
}

.project-text {
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 17px;
    letter-spacing: 1px;
    color: #000000;
    text-align: center;
}

.project-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 32px;

    background-color: #E5E7EB;
    border-radius: 24px;
    padding: 24px 32px;
    box-sizing: border-box;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.10);
}

.project-description {
    font-family: "Julius Sans One", sans-serif;
    font-size: 13px;
    letter-spacing: 0.8px;
    color: #1F2937;
    line-height: 1.8;
    max-width: 650px;
}

/* ------------------Experience------------------ */

.experience-section {
    background-color: #FAFAFA;
    padding: 70px 0 120px;
    margin-top: 0;               
}

.experience-inner {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.experience-card {
    background-color: #E5E7EB;
    border-radius: 22px;
    padding: 24px 30px;
    box-sizing: border-box;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #DDDFE3;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #D1D5DB;
}

.experience-company {
    font-family: "Julius Sans One", sans-serif;
    font-size: 16px;
    letter-spacing: 0.8px;
    color: #1F2937;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.experience-role {
    font-family: "Julius Sans One", sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
    color: #4B5563;
    margin: 0;
}

.experience-date_of_employment {
    font-family: "Julius Sans One", sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: #6B7280;
    text-transform: uppercase;
    margin: 0;
}

.experience-description {
    margin: 8px 0 0 18px;
    padding: 0;
    font-family: "Cormorant Garamond", sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #1F2937;
    line-height: 1.6;
}

.experience-description li + li {
    margin-top: 4px;
}

/* ------------------Skills & Awards Page------------------ */

.skills-awards-section {
    background-color: #FAFAFA;
    padding: 80px 0 120px;
}

.skills-awards-inner {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;  
    gap: 80px;
}

.skills-title {
    font-family: "Julius Sans One", sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    color: #1F2937;
    margin-bottom: 32px;
}

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

.skill-group-title {
    font-family: "Julius Sans One", sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    color: #1F2937;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.skill-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.skill-list li {
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 15px;
    letter-spacing: 0.9px;
    color: #000000;
    margin-bottom: 4px;
}

.awards-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.award-item {
    border-left: 2px solid #D9D9D9;
    padding-left: 16px;
}

.award-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}

.award-name {
    font-family: "Julius Sans One", sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    color: #1F2937;
    text-transform: uppercase;
}

.award-date {
    font-family: "Julius Sans One", sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: #6B7280;
}

.award-description {
    font-family: "Cormorant Garamond", sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #1F2937;
    margin: 0;
    line-height: 1.7;
}

/* ------------------Responsive Design------------------ */

@media (min-width: 1025px) {
.navheader nav {
    max-width: 1200px;   
    margin: 0 auto;
    padding-left: 48px;  
    padding-right: 48px;
}

.navlinks {
    justify-content: space-between;
    gap: 120px;         
}
}

@media (min-width: 768px) and (max-width: 1024px) {

/* ----------Header---------- */

.navheader nav {
    width: 92%;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 32px;
    padding-bottom: 32px;
}

.navlinks {
    gap: 70px; 
    flex-wrap: nowrap;
    justify-content: center;
}

.navlinks a {
    font-size: 22px;
}

/* ----------Hero Section---------- */

.hero-section {
    padding: 70px 0 80px;
}

.hero-content {
    gap: 40px;
}

.hero-headshot {
    width: 150px;
    height: 150px;
}

.hero-name {
    font-size: 30px;
}

.hero-info,
.hero-contactlink {
    font-size: 13px;
    letter-spacing: 0.08em;
}

/* ----------Experience---------- */

.exp-card {
    width: 85%;
    max-width: 900px;
    margin: 24px auto;
    padding: 32px 40px;
}

.exp-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.exp-title {
    font-size: 18px;
}

.exp-company {
    font-size: 13px;
}

.exp-date {
    font-size: 13px;
}

.exp-card ul li {
    font-size: 13px;
}

/* ----------Projects/Research---------- */

.project-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 60px;
    row-gap: 60px;
    max-width: 900px;
    margin: 120px auto 180px;
    padding: 0 24px;
}

.project-card {
    width: 100%;
    max-width: 380px;
    padding: 34px 26px;
    height: 420px;
}

.project-image {
    height: 190px;
}

.project-text {
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.6px;
    text-align: center;
}

/* ----------Skills & Awards Page---------- */

.skills-awards-inner {
    max-width: 900px;
    margin: 64px auto 160px;
    column-gap: 60px;
}

.skills-title {
    font-size: 26px;
    letter-spacing: 3px;
}

.skill-group-title,
.award-name {
    font-size: 14px;
    letter-spacing: 1.4px;
}

.skill-list li,
.award-description {
    font-size: 12px;
    line-height: 1.7;
}

/* ----------Footer---------- */

.footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 18px; 
    text-align: center;
}

.footer-item {
    line-height: 1.35;
}
}

@media (min-width: 768px) and (max-width: 900px) {
.navheader nav {
    max-width: 620px;
    margin: 0 auto;
}

.navlinks {
    gap: 48px;
}

/* ----------Projects/Research---------- */

.section-header {
    max-width: 900px;
    margin: 120px auto 18px;
    padding: 0 24px;
    transform: translateX(12px);
    text-align: left;
}

.section-title {
    border-bottom: 1px solid #b7b8bb;
}

.project-cards {
    grid-template-columns: 1fr;
    max-width: 700px;
    row-gap: 70px;
}

.project-card {
    max-width: 480px;
    margin: 0 auto;
    height: 440px;
}

/* ----------Skills & Awards Page---------- */

.skills-awards-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
    max-width: 760px;
    margin: 40px auto 140px;
}

.skills-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 32px;
}

.skill-group {
    max-width: 100%;
}

.skill-group-title {
    font-size: 14px;
    letter-spacing: 1.8px;
}

.skill-list li {
    font-size: 12px;
    line-height: 1.7;
}

.awards-list {
    max-width: 100%;
}
}

@media (max-width: 767px) {
html, body {
    overflow-x: hidden;
}

/* ----------Header---------- */

.navheader nav {
    width: 92%;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 22px;
    padding-bottom: 22px;
}

.navlinks {
    gap: 14px 24px; 
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

.navlinks li {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.navlinks a {
    font-size: 16px;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

/* ----------Hero Section---------- */

.hero-section {
    padding: 50px 0 60px;
}

.hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.hero-headshot {
    width: 130px;
    height: 130px;
}

.hero-name {
    font-size: 24px;
}

.hero-info,
.hero-contactlink {
    font-size: 11px;
    letter-spacing: 0.05em;
}

.hero-name,
.hero-info,
.hero-contactlink {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* ----------Experience---------- */

.exp-card {
    width: 92%;
    padding: 26px 24px;
    margin: 20px auto;
}

.exp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.exp-title {
    font-size: 15px;
}

.exp-company,
.exp-date,
.exp-card ul li {
    font-size: 11px;
}

/* ----------Projects/Research---------- */

.section-header {
    max-width: 900px;
    margin: 120px auto 18px;
    padding: 0 24px;
    transform: translateX(-18px);
    text-align: left;
}

.section-title {
    border-bottom: 1px solid #D1D5DB;
}

.project-cards {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 60px;
    max-width: 90%;
    margin: 80px auto 120px;
    padding: 0;
}

.project-card {
    width: 100%;
    max-width: 420px;
    padding: 28px 22px;
    height: 460px;
    margin: 0 auto;
}

.project-image {
    height: 220px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.project-text {
    font-size: 13px;
    line-height: 1.65;
    letter-spacing: 0.5px;
    margin-top: 14px;
}

/* ----------Skills & Awards Page---------- */

.skills-awards-inner {
    display: flex;          
    flex-direction: column;
    gap: 32px;
    width: 92%;
    max-width: 520px;
    margin: 40px auto 140px;
    padding: 0;
    box-sizing: border-box;
}

.skills-title {
    font-size: 22px;
    letter-spacing: 2px;
}

.skills-grid {
    display: flex;          
    flex-direction: column;
    gap: 22px;
}

.skill-group,
.awards-list,
.award-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.skill-group-title {
    font-size: 13px;
    letter-spacing: 1.4px;
}

.skill-list li,
.award-description {
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.award-name {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.award-item {
    border-left: none;
    padding-left: 0;
}

/* ----------Footer---------- */

.footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;         
    text-align: center;
}

.footer-item {
    width: 100%;
    word-break: break-word;
    line-height: 1.25;
}
}

@media (min-width: 400px) and (max-width: 766px) {
.navheader nav {
    padding: 18px 10px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.navlinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 0;
    padding: 0;
}

.navlinks li {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
}

.navlinks a {
    font-size: 16px;
    letter-spacing: 0.22em;
}

/* ----------Home---------- */

.hero-section {
    padding: 55px 0 60px;
    text-align: center;
}

.hero-content {
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.hero-headshot {
    width: 135px;
    height: 135px;
}

.hero-name {
    font-size: 26px;
}

.hero-info {
    font-size: 12px;
    letter-spacing: 0.09em;
}

.hero-contactlink {
    font-size: 12px;
    letter-spacing: 0.09em;
    padding-right: 80px; /* keep until headshot added */
}

/* ----------Experience---------- */

.exp-card {
    width: 88%;
    max-width: 520px;
    margin: 22px auto;
    padding: 24px 22px;
}

.exp-title {
    font-size: 13px;
}

.exp-company,
.exp-date {
    font-size: 12px;
}

.exp-card ul li {
    font-size: 12px;
    line-height: 1.6;
}

/* ----------Projects/Research---------- */

.section-header {
    max-width: 500px;
    margin: 80px auto 18px;
    padding: 0 16px;
    transform: none;
    text-align: center;
}

.section-title {
    text-align: center;
    border-bottom: 1px solid #b7b8bb;
}

.project-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
    max-width: 500px;
    margin: 80px auto 130px;
    padding: 0 16px;
}

.project-card {
    width: 100%;
    max-width: 330px;
    padding: 20px 20px;
    border-radius: 30px;
}

.project-image {
    height: 155px;
    margin-bottom: 18px;
}

.project-text {
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.06em;
    margin-top: 6px;
    text-align: center;
}

/* ----------Skills & Awards Page---------- */

.skills-awards-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 520px;
    margin: 60px auto 130px;
    padding: 0 18px;
}

.skills-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
}

.skill-group {
    max-width: 100%;
}

.skill-group-title,
.award-name {
    font-size: 14px;
    letter-spacing: 1.4px;
}

.skill-list li,
.award-description {
    font-size: 13px;
    line-height: 1.7;
}

.award-item {
    border-left: none !important;
}

.award-item::before {
    content: none !important;
}
}
