

/* What I'm Working On lead spacing */
.working-on-lead {
    padding: 0;
}
/* Remove underlining and set link color globally */
a, a:visited, a:active, a:hover {
  text-decoration: none !important;
  color: #1a2233 !important;
}
/* Custom Font Declarations */
@font-face {
  font-family: 'Bonbance Bold Condensed';
  src: url('../assets/fonts/XCicero_bonbance/Bonbance-BoldCondensed.woff2') format('woff2'),
       url('../assets/fonts/XCicero_bonbance/Bonbance-BoldCondensed.woff') format('woff'),
       url('../assets/fonts/XCicero_bonbance/Bonbance-BoldCondensed.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Apfel Grotezk';
  src: url('../assets/fonts/apfelGrotezk/ApfelGrotezk-Regular.woff2') format('woff2'),
       url('../assets/fonts/apfelGrotezk/ApfelGrotezk-Regular.woff') format('woff'),
       url('../assets/fonts/apfelGrotezk/ApfelGrotezk-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/Playfair_Display/static/PlayfairDisplay-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/Playfair_Display/static/PlayfairDisplay-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Font Usage */
body, p, .section-lead, .hero-sub, .brand-sub, .card-body, .muted, .small, .link, nav, .btn, .cta-row, .lead {
    font-family: 'Apfel Grotezk', 'Playfair Display', Arial, Helvetica, sans-serif;
    font-weight: normal;
}

p {
    font-size: 18px;
    font-family: 'Apfel Grotezk', 'Playfair Display', Arial, Helvetica, sans-serif;
    font-weight: normal;
}

body {
  background: rgb(248,245,226);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, .hero-title, .brand-name, .section-title {
    font-family: 'Bonbance Bold Condensed', 'Playfair Display', 'Times New Roman', Times, serif;
    font-weight: bold;
    letter-spacing: 0.01em;
}

h1 {
    font-size: 72px;
}
h2 {
    font-size: 36px;
}

.wrap{
  width: fill-available;
  max-width: var(--max-width);
  margin: 0 2rem;
  padding: 2rem 0;
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0px 2rem;
}

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

.nav-icons {
  display: flex;
  gap: 32px;
  align-items: center;
}

#fib-logo {
    width: 48px;
    height: auto;
}

/* skip link */
.skip{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:auto;top:12px;right:auto;background:#000;color:#fff;padding:8px 12px;border-radius:6px;z-index:1000}

/* header */
.site-header{
  width: 100%;
  padding:24px 0;
  border-bottom:1px solid rgb(175,191,202);
  position:sticky;
  top:0;
  background: rgb(175,191,202);
  z-index:40;
}
.brand{display:flex;align-items:center;gap:12px}
.brand-name{
  font-family: 'Bonbance Bold Condensed', 'Playfair Display', 'Times New Roman', Times, serif;
  font-size:28px;
  letter-spacing:8px;
}
.brand-sub{font-size:12px;color:var(--muted);margin-top:4px}

.nav{display:block}
.nav ul{list-style:none;display:flex;gap:20px;padding:0;margin:0;align-items:center}
.nav a{color:var(--text);text-decoration:none;font-weight:600}
.nav a.active{color:var(--accent)}

.nav-toggle{display:none;background:none;border:0}

/* mobile nav */
.mobile-nav{display:none;padding:12px;background: rgb(175,191,202);box-shadow:0 8px 24px rgba(10,10,10,0.06);}

/* hero */
.hero{
  padding:48px 0;
}
  .hero-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 32px;
    flex-direction: row-reverse;
  }
  .hero-left {
    flex: 0 0 auto;
    width: auto;  min-width: 0;
  }
  .hero-media {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .hero-media img {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: .8;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    margin-right: auto;
  }
.hero-title{margin:0;color:var(--text);margin-bottom:18px;}
.hero-title .loose{display:block;font-size:72px;letter-spacing:26px;line-height:0.9}
.hero-title .tight{display:block;font-size:18px;letter-spacing:6px;color:var(--muted);margin-top:4px}

/* responsive typographic scale */
.hero-sub {
  margin-top:8px;
  margin-bottom:0;
  color:var(--muted);
  max-width:520px;
  font-size:18px;
  line-height:1.3;
}


/* ctas */
.cta-row{display:flex;gap:12px;margin-top:22px}
.btn{display:inline-block;padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:600}
.btn.primary{background:var(--navy);color:white}
.btn.ghost{background:transparent;border:1px solid #e7e7e7;color:var(--text)}

/* projects grid */
.section{padding:2rem 0}
.section-title{font-size:28px;margin:0 0 8px}
.section-lead{color:var(--muted);margin-bottom:24px}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin-top:18px}
.card{border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(11,27,43,0.04);transition:transform .28s ease,box-shadow .28s ease}
.card img{width:100%;height:160px;object-fit:cover;display:block}
.card-body{padding:14px}
.card-body h3{margin:0 0 8px;font-size:16px}
.card-body p{margin:0;color:var(--muted);font-size:14px}

/* more button */
.more{margin-top:18px;text-align:center}

/* about content */
.content{padding:56px 0}
.about h1{margin-bottom:8px}
.lead{color:var(--muted);margin-bottom:16px}
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:12px}
.stats-grid div{padding:18px;border-radius:10px;text-align:center;box-shadow:0 8px 18px rgba(11,27,43,0.04)}
.stats-grid strong{display:block;font-size:20px}

/* footer */
.site-footer{border-top:1px solid #f2f2f2;padding:28px 0;margin-top:40px;color:var(--muted)}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;align-items:start}

/* small utilities */
.muted{color:var(--muted)}
.small{font-size:13px}

/* article */
.article img{width:100%;border-radius:12px;margin:18px 0}


/* contact form */
.contact-form{display:grid;gap:12px;max-width:720px}
.contact-form label{font-weight:600;font-size:14px}
.contact-form input, .contact-form textarea{
  padding:12px;border-radius:8px;border:1px solid #e9e9e9;font-size:16px
}

/* responsive */
@media (max-width:980px){
  .nav-flex {
    padding: 0 20px;
  }
  .nav-icons {
    gap: 24px;
  }
  .nav-icons img {
    width: 32px !important;
    height: 32px !important;
  }
  .hero-inner{
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .hero-title .loose{font-size:46px;letter-spacing:10px}
  .hero-media{
    order: -1;
    justify-content: center;
  }
  .hero-media img {
    max-width: 260px;
  }
  .nav{display:none}
  .nav-toggle{display:inline-block}
  .mobile-nav{display:block}
  .footer-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:repeat(1,1fr)}
  #fib-logo {
    width: 40px !important;
  }
}

@media (max-width:768px){
  .nav-flex {
    padding: 0 16px;
  }
  .nav-icons {
    gap: 20px;
  }
  .nav-icons img {
    width: 32px !important;
    height: 32px !important;
  }
  .brand-name {
    font-size: 32px;
    letter-spacing: 6px;
  }
  .hero-media img {
    max-width: 280px;
  }
  .hero-inner{
    gap: 24px;
  }
  #fib-logo {
    width: 40px !important;
  }
}

@media (max-width:480px){
  .nav-flex {
    padding: 0 12px;
  }
  .nav-icons {
    gap: 16px;
  }
  .nav-icons img {
    width: 32px !important;
    height: 32px !important;
  }
  .brand-name {
    font-size: 30px;
    letter-spacing: 4px;
  }
  #fib-logo {
    width: 40px !important;
  }
  .hero-media img {
    max-width: 250px;
  }
  .hero-inner{
    gap: 20px;
  }
}

/* interactions */
.card:hover{box-shadow:0 20px 40px rgba(11,27,43,0.08)}
.hero-media img{transition:transform .7s ease}


/* Projects Section */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.why {
    padding: 5rem 0rem;
}

.projects {
    max-width: 1200px;
    margin: 0 2rem;
}

/* Mobile-first design (matches your screenshot layout) */
.projects__item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1rem;
    background-color: transparent;
}

.projects__item:last-child {
    margin-bottom: 0;
}

.projects__image-container {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 4px;
    overflow: hidden;
}

.projects__image {
    width: 100%;
    height: 100%;
    min-width: 280px;
    object-fit: cover;
    display: block;
}

.projects__content {
    flex: 1;
    min-width: 0;
}

.projects__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.projects__description {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    font-weight: 400;
}

/* Desktop layout - horizontal grid */
@media (min-width: 1024px) {
   
    .projects {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        max-width: 1400px;
    }
    
    .projects__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 0;
    }
    
    .projects__image-container {
        width: 100%;
        max-width: 300px;
        height: 200px;
        margin-bottom: 1.5rem;
        border-radius: 4px;
    }
    
    .projects__content {
        flex: none;
    }
    
    .projects__title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .projects__description {
        font-size: 1.1rem;
        text-align: left;
        max-width: none;
    }
}

/* Tablet adjustments - keep horizontal layout */
@media (min-width: 769px) and (max-width: 1023px) {
    
    .projects__item {
        flex-direction: row;
        gap: 2rem;
        text-align: left;
        align-items: flex-start;
    }
    
    .projects__image-container {
        width: 180px;
        height: 180px;
        flex-shrink: 0;
    }
    
    .projects__content {
        flex: 1;
    }
    
    .projects__title {
        font-size: 1.6rem;
    }
    
    .projects__description {
        font-size: 1.1rem;
    }
}

/* Mobile layout - stack vertically */
@media (max-width: 768px) {

    
    .projects__item {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
        align-items: center;
        text-align: center;
        padding-bottom: 40px;
    }
    
    .projects__image-container {
        width: 100%;
        max-width: 280px;
        height: 200px;
        border-radius: 8px;
    }
    
    .projects__content {
        width: 100%;
    }
    
    .projects__title {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }
    
    .projects__description {
        font-size: 1rem;
        text-align: left;
        max-width: 100%;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {

    
    .projects__item {
        gap: 0.4rem;
        margin-bottom: 1.5rem;
    }
    
    .projects__image-container {
        max-width: 280px;
        height: 180px;
    }
    
    .projects__title {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }
    
    .projects__description {
        font-size: 0.95rem;
    }
}


.timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    color: #fff;
    min-height: 100vh;
}


.timeline__container {
    position: relative;
}

/* Remove the main vertical line for this layout */
.timeline__container::before {
    display: none;
}

.timeline__item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__point {
    position: relative;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #a56334;
    border-radius: 50%;
    border: none;
    z-index: 2;
    margin: 0 auto;
}

.timeline__point::after {
    display: none;
}

.timeline__item:hover .timeline__point {
    transform: none;
    box-shadow: none;
}

.timeline__content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    transition: none;
}

.timeline__content::before {
    display: none;
}

.timeline__item:hover .timeline__content {
    transform: none;
    box-shadow: none;
}

.timeline__year {
    font-size: 0.9rem;
    color: #999;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: normal;
    text-transform: none;
}

.timeline__title-item {
    font-size: 1.4rem;
    color: #0c0d28;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.timeline__organization {
    font-size: 1rem;
    color: #3e3e3e;
    font-weight: 400;
    margin-bottom: 1rem;
}

.timeline__description {
    font-size: 0.95rem;
    color: #403f3f;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.timeline__media {
    margin-top: 1rem;
}

.timeline__image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.timeline__image:hover {
    transform: translateY(-2px);
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline__item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.timeline__item:nth-child(1) { animation-delay: 0.1s; }
.timeline__item:nth-child(2) { animation-delay: 0.2s; }
.timeline__item:nth-child(3) { animation-delay: 0.3s; }
.timeline__item:nth-child(4) { animation-delay: 0.4s; }
.timeline__item:nth-child(5) { animation-delay: 0.5s; }
.timeline__item:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .timeline {
        padding: 1.5rem 1rem;
    }
    
    .timeline__item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .timeline__point {
        width: 8px;
        height: 8px;
        top: 0.25rem;
    }
    
    .timeline__title-item {
        font-size: 1.2rem;
    }
    
    .timeline__description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .timeline__image {
        max-width: 100%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .timeline {
        padding: 1rem 0.75rem;
    }
    
    .timeline__item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 2.5rem;
    }
    
    .timeline__point {
        position: absolute;
        left: -1rem;
        width: 6px;
        height: 6px;
        top: 0.5rem;
    }
    
    .timeline__content {
        position: relative;
        padding-left: 1rem;
    }
    
    .timeline__divider {
        width: 40px;
        margin-bottom: 3rem;
    }
    
    .timeline__title-item {
        font-size: 1.1rem;
    }
    
    .timeline__image {
        height: 120px;
    }
}

/* Awards Section */
.awards {
    max-width: 1400px;
    margin: 0 2rem;
    padding: 1rem 0rem;
}

.awards__title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #000;
    letter-spacing: -0.02em;
}

.awards__subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* small utility: italic text that inherits site typography */
.italic {
    font-style: italic;
    font-family: 'Apfel Grotezk', 'Playfair Display', Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #403f3f;
}


.awards__list {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.awards__item {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(300px, 2fr) auto;
    gap: 2rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.awards__item:last-child {
    border-bottom: none;
}


.awards__organization {
    font-size: 1rem;
    color: #000;
    font-weight: 500;
    line-height: 1.4;
}

.awards__name {
    font-size: 1rem;
    color: #000;
    font-weight: 400;
    line-height: 1.4;
}

.awards__year {
    font-size: 1rem;
    color: #000;
    font-weight: 500;
    text-align: right;
    min-width: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .awards {
        padding: 1rem 0rem;
        margin: 0 2rem;
    }
    
    .awards__title {
        font-size: 2rem;
    }
    
    .awards__item {
        grid-template-columns: 1fr;
        gap: 0rem;
        text-align: left;
        padding: 1rem 0;
    }
    
    .awards__item--highlighted {
        padding: 1rem;
    }
    
    .awards__organization {
        font-size: 18px;
        color: #000;
        font-weight: 500;
        line-height: 1.4;
        font-family: 'Apfel Grotezk', 'Playfair Display', Arial, Helvetica, sans-serif;
    }
    .awards__name {
        font-size: 18px;
        color: #000;
        font-weight: 400;
        line-height: 1.4;
        font-family: 'Apfel Grotezk', 'Playfair Display', Arial, Helvetica, sans-serif;
    }
    .awards__year {
        font-size: 18px;
        color: #000;
        font-weight: 500;
        text-align: right;
        min-width: 60px;
        font-family: 'Apfel Grotezk', 'Playfair Display', Arial, Helvetica, sans-serif;
    }
}

@media (max-width: 480px) {
    .awards {
        padding: 1rem 0rem;
        margin: 0 2rem;
    }
    
    .awards__title {
        font-size: 1.75rem;
    }
    
    .awards__subtitle {
        font-size: 1rem;
    }
    
    .awards__divider {
        width: 40px;
        margin-bottom: 2rem;
    }
    
    .awards__list {
        gap: 0rem;
    }
    
    .awards__item {
        padding: 0.75rem 0;
    }
    
    .awards__item--highlighted {
        padding: 0.75rem;
    }
}