body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* cuts off overflowing width*/
  overflow-y: auto;  /*gives scroll bar when scrolling-switch to scroll to turn off*/
  font-family: 'Inter', sans-serif;
  background-color: #fff8ea;
}

/*Header*/

.header{
  display: flex;
  position: sticky; /*sticks when scrolling */
  top: 0; /* Sticks to the top of the viewport when scrolled */
  justify-content: space-between; /* centers items horizontally */
  align-items: center;     /* centers items vertically */
  height: 10vh;           /* optional, to center items in full view height  or use px for pixels*/
  background-color: #f8eace;
  /* gap: 110vh;  gap between items in flexbox*/
  padding: 0 40px;
  z-index: 1000;
}

.bannerButtons{
  display: flex;
  justify-content: center; /* centers items horizontally */
  align-items: center;     /* centers items vertically */
  gap: 7vh;  /*gap between items in flexbox*/
  padding: 0 40px;
}

.navLink{
  text-decoration: none;   /* removes default underline */
  color: #000;             /* or white if dark background */
  font-weight: 500;
  position: relative;      /* needed for underline animation */
  /* gap: 40vh;  /*gap between items in flexbox*/
}

.navLink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;            /* space below text */
  width: 0%;
  height: 2px;
  background-color: currentColor;  /* matches text color */
  transition: width 0.3s ease;
}

.navLink:hover::after {
  width: 100%;
}

/* About Info */

.pageHeadText{
  margin-top: 4%;
  margin-bottom: 3%
}

.homepagePanel{
  display: flex;
  width: 90%; 
  height: 100%;
  margin-left: 5%;  /* Add margin to the left */
  margin-right: 5%; /* Add margin to the right */
  margin-bottom: 10%;
  margin-top: 2%;
  justify-content: center;
  align-items: top;
  padding: 30;
  gap: 60px;
}

.panelText{
  display: flex;
  flex-direction: column;
  padding: 10;
  align-items: top;
  width: 100%;
}

.panelImage{
  display: flex;
  margin-top: 4%;
  flex-direction: column;
  padding: 10;
  align-items: top;
}

.image-fixed {
  width: 360px; /* 3:2 pixels width to height ratio */ 
  height: 480px;
}

.bannerButton{
  padding: 10px 20px;
  background-color: #f8eace;   /* slightly different than background */
  color: #452f04;
  border: none;                /* removes border */
  border-radius: 8px;          /* subtle rounding */
  cursor: pointer;             /* pointer finger on hover */
  transition: background-color 0.2s ease;
  font-size: 16px;
}

.bannerButton:hover {
  background-color: #fdd893;   /* slightly lighter on hover */
}

h3{
  font-size: 30pt;
  color: #573c08;
  margin: 0;
}

h4{
  font-size: 22pt;
  padding: 0;
  white-space: nowrap;
  margin: 0;
}

h5{
  font-size: 18pt;
  color: #573c08;
}

#aboutMeText{
  margin-top: 10px;
  font-size: 15pt;
  line-height: 1.5;
  padding: 0;
  padding: 0;
  color: #573c08;
  text-align: justify;
}

#aboutMeTitle{
  margin-top: 5px;
  color: #573c08;;
}


/* ProjectPage Style */

#ProjPageHeadText{
  margin-top: 3%;
  margin-bottom: 1%;
}

.projectGrid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: center;   /* centers the whole grid */
  gap: 24px;
  max-width: 1200px;
  margin: 50px auto;
}

.projectCard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: white;
  background-color: #dbc7a0;
  border-radius: 22px;
  overflow: hidden;
  padding: 26px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 480px;
}

.projectCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.projectCard img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 28px;
}

.projectImageBox {
  width: 100%;
  height: 160px;          /* or use aspect-ratio below */
  border-radius: 14px;
  overflow: hidden;
}

.projectImageBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /*  fills box */
  display: block;
}

.projectCard:active {
  transform: translateY(-1px);
}

.projectCardText h3 {
  font-size: 1.6rem;
  margin: 20px 0 20px 0;    /*margin: top right bottom left */
}

.projectCardText p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 20px 0;
  color: #3f2b02
}



/* Single Project Page Styling */


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fffaf0;
  color: #5a3d06;
  line-height: 1.6;
}

.navbar {
  height: 92px;
  padding: 0 36px;
  background: #f7e7c5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: #5a3d06;
  text-decoration: none;
}

nav a {
  margin-left: 48px;
  color: #111;
  text-decoration: none;
  font-size: 1.1rem;
}

main {
  max-width: 1250px;
  margin: 0 auto;
  padding: 80px 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.projectAbstractText{
  text-align: justify;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6827;
}

h1 {
  font-size: 4rem;
  line-height: 1.05;
  margin: 12px 0 24px;
}

.subtitle {
  font-size: 1.35rem;
  max-width: 720px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tags span {
  background: #efd9aa;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.hero-image,
.content-image {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.section {
  margin-bottom: 90px;
}

.section h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.ThreeFiftyresultsSectionSplit p,
.ThreeFiftyresultsSectionSplit li {
  font-size: 1.2rem;
  line-height: 1.6;
}

.ThreeFiftyresultsSectionSplit h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.ThreeFiftyresultsSectionSplit ul {
  margin-top: 24px;
  padding-left: 32px;
}

.ThreeFiftyresultsSectionSplit{
  display: grid;
  grid-template-columns: 1fr 420px;
  justify-items: center;
  justify-content: center;
  gap: 72px;
}

.results-image{
  height: auto;
  width: 300px;
  margin-top: 10%;
  border-radius: 18px;
}

.results-imageBridge{     /* Nyakuza bridge results pic */
  height: 560px;
  width: auto;
  margin-top: 10%;
  border-radius: 18px;
}

.section p,
.section li {
  font-size: 1.2rem;
}

.results-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.result-card,
.info-card {
  background: #dfc795;
  padding: 28px;
  border-radius: 22px;
}

.result-card h3 {
  font-size: 2rem;
  margin: 0;
}

.result-card p,
.info-card p {
  margin-bottom: 0;
}


/* =========================================
   TECHNICAL DEEP DIVE
========================================= */

.deep-dive {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.deep-dive-block {
  /*
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start; */

  background: #f4e3be;
  border-radius: 28px;
  padding: 40px;
}

.wrapped-figure {
  float: right;
  width: 500px;
  max-width: 50%;
  margin: 0 0 24px 36px;
}

.wrapped-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.wrapped-figure figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #7a5b22;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.feature-list li {
  background: rgba(255,255,255,0.45);

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 1rem;
  font-weight: 500;
}

.wrapped-figure.left {          /* Second deep dive for 350 */
  float: left;
  width: 300px;
  max-width: 50%;
  margin: 0 36px 24px 0;
}

.wrapped-figure.art{          /* Third deep dive for 350 */
  float: right;
  width: 400px;
  max-width: 50%;
  margin: 0 0 24px 36px;
}

/* =========================================
   PHOTO GALLERY
========================================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-item {
  margin: 0;
  /* background: #f4e3be; */
  border-radius: 22px;
  overflow: hidden;

  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
}

.gallery-item figcaption {
  padding: 18px 20px;

  font-size: 1rem;
  line-height: 1.6;

  color: #5a3d06;
}


/*Bridge photo gallery*/


.gallery-item-bridge {
  margin: 0;
  /* background: #f4e3be; */
  /*border-radius: 22px; */
  overflow: hidden;

  transition: transform 0.25s ease;
}

.gallery-item-bridge img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
}

.gallery-item-bridge figcaption {
  padding: 10px 20px; 

  font-size: 1rem;
  line-height: 1.6;
  text-align: center;

  color: #5a3d06;
}


/*End bridge photo gallery*/


/* LBLLC photo gallery */

.LBgallery-item {
  margin: 0;
  /* background: #f4e3be; */
  border-radius: 0px;
  overflow: hidden;

  transition: transform 0.25s ease;
}

.LBgallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
}

.LBgallery-item figcaption {
  padding: 10px 20px; 

  font-size: 1rem;
  line-height: 1.6;
  text-align: center;

  color: #5a3d06;
}


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

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

  h1 {
    font-size: 2.7rem;
  }

  nav a {
    margin-left: 20px;
  }

  main {
    padding: 50px 24px;
  }
}




/* =========================================
   Audio Windowing
========================================= */

.audioProcessFigure img{
  height: auto;
  width: 480px;
}

.audio-results-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;

  margin-top: 40px;
  margin-bottom: 20px;
}

.audio-results-figure {
  margin: 0;
  text-align: center;
}

.audio-results-figure img {
  width: 100%;
  max-width: 550px;

  border-radius: 18px;

  display: block;
  margin: 0 auto 18px auto;
}

.audio-results-figure figcaption {
  font-size: 1rem;
  line-height: 1.6;

  color: #5a3d06;
}

.audio-results-caption {
  text-align: center;

  font-size: 1.2rem;
  font-style: italic;

  margin-top: 30px;
}

.audio-results-figure-single {
  margin: 50px auto 0 auto;
  text-align: center;
}

.audio-results-figure-single img {
  width: 100%;
  max-width: 900px;
  height: auto;

  display: block;
  margin: 0 auto;

  border-radius: 18px;
}

.audio-results-figure-single figcaption {
  margin-top: 18px;

  font-size: 1rem;
  line-height: 1.6;

  color: #5a3d06;
}

#audioFig4{
  height: auto;
  width: 200px;
}

/* =========================================
   LBLLC
========================================= */

.project-timeline {
  position: relative;
  margin-top: 40px;
  margin-left: 20px;
  padding-top: 20px;
  border-left: 3px solid #dbc7a0;
}

.project-timeline-item {
  position: relative;
  padding-left: 44px;
  padding-bottom: 38px;
}

.project-timeline-dot {
  position: absolute;
  left: -11px;
  top: 6px;

  width: 18px;
  height: 18px;
  border-radius: 50%;

  background: #573c08;
  border: 4px solid #dbc7a0;
}

.project-timeline-content {
  background: none;
  padding: 0;
  max-width: 850px;
}

.project-timeline-content h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #573c08;
}

.project-timeline-date {
  margin: 4px 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a6827;
}

.project-timeline-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}




/* =========================================
   Additional Work
========================================= */
.small-projects-hero {
  max-width: 900px;
  margin-bottom: 70px;
}

.small-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.small-project-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;

  background: #f4e3be;
  border-radius: 26px;
  padding: 28px;

  text-decoration: none;
  color: #5a3d06;
}

.small-project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.small-project-text h2 {
  font-size: 2rem;
  margin: 0 0 12px;
}

.small-project-text p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-tags span {
  background: #efd9aa;
  padding: 7px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 850px) {
  .small-project-card {
    grid-template-columns: 1fr;
  }
}


/* Contact Page */


.contact-section {
  max-width: 1050px;
  margin: 0 auto;
  padding: 10px 40px;
}

.contact-text {
  margin-bottom: 48px;
}

.contact-intro {
  max-width: 760px;
  font-size: 1.25rem;
  line-height: 1.7;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.contact-link {
  display: block;

  background: #dfc795;
  border-radius: 22px;
  padding: 28px 32px;

  color: #5a3d06;
  text-decoration: none;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.contact-link span {
  display: block;

  margin-bottom: 8px;

  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #8a6827;
}

.contact-link p {
  margin: 0;

  font-size: 1.35rem;
  font-weight: 700;
}