mainheader { 
  position: absolute; 
  top: 0; 
  width: 100%; 
  height: 12.5vh; 
  background-color: white; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  z-index: 1; 
  border-bottom: 3px solid black; 
}

mainheader h1 { 
  font-size: clamp(2rem, 6vw + 0.5rem, 5rem); 
  font-family: "Abel", sans-serif; 
  color: black; 
  padding: 0; 
} 

nav { 
  display: flex; 
  font-family: "Abel", sans-serif; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-top: 12.5vh; 
  z-index: 0; 
  border-bottom: 2.5px solid black; 
} 

nav a { 
  color: black; 
  margin: 5px 15px; 
  font-size: clamp(14px, 2vw, 18px); 
} 

nav a:hover { 
  text-decoration: underline; 
} 

.intro-section { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: clamp(16px, 2vw, 32px); 
  align-items: center; 
  padding: 4vh 0; 
  min-height: 70vh; 
  background: white; 
  max-width: 1120px; 
  margin-inline: auto; 
} 

root { 
  --gray-50: #f9fafb; 
  --gray-300: #d1d5db; 
  --text: #111; 
  --muted: #333; 
  --radius: 0.375rem; 
  --border: #000; 
} 

/*Doesn't make any visible change */
.intro-links a { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 36px; 
  height: 36px; 
  border: 1.5px solid var(--border); 
  border-radius: 999px; 
  text-decoration: none; 
  background: #fff; 
  transition: transform .18s ease, background-color .18s ease, opacity .18s ease; 
} 
/*Doesn't make any visible change */
.intro-links a:hover { 
  transform: translateY(-2px); 
  background: #f7f7f7; 
} 
/*Doesn't make any visible change */
.intro-links svg { 
  width: 20px; 
  height: 20px; 
  stroke: var(--text); 
} 
/*Doesn't make any visible change */
.intro-photo { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 8px; 
} 
/*Doesn't make any visible change */
.intro-photo img { 
  width: 100%; 
  max-width: 420px; 
  height: auto; 
  border-radius: 10px; 
  border: none; 
} 
/*Doesn't make any visible change */
@media (min-width: 900px) { 
  .intro-photo { align-items: center; } 
  .intro-links { justify-content: center; } 
} 

.intro-links { 
  display: flex; 
  gap: 16px; 
  justify-content: 
  center; align-items: 
  center; margin-top: 8px; 
} 

.intro-links a { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 36px; 
  height: 36px; 
  border: 1.5px solid var(--border); 
  border-radius: 999px; 
  text-decoration: none; 
  transition: transform .18s ease, 
  background-color .18s ease, opacity .18s ease; 
  will-change: transform; 
} 

.intro-links a:hover {
    transform: translateY(-2px); 
    background: #f7f7f7; 
    
} 

.intro-links a:active {
    transform: translateY(0); 
    
} 

.intro-links svg {
    width: 20px; 
    height: 20px; 
    stroke: var(--text); 
    
} 

/* Text */ .intro-text { padding: 1rem 1rem; font-family: "Abel", sans-serif; } .intro-text h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 1rem; border-bottom: 2px solid black; display: inline-block; } /* Single paragraph rule (avoid duplicates) */ .intro-text p { font-size: clamp(0.95rem, 1.2vw, 1.05rem); line-height: 1.6; /* line spacing within a paragraph */ margin-bottom: 1.25rem; /* space between paragraphs */ } .quick-links a { text-decoration: none; /* remove default underline */ color: inherit; /* keep same color as surrounding text */ } .quick-links a:hover { text-decoration: underline; /* underline on hover */ } /* Desktop/tablet: photo column narrower on the left, text wider & justified */ @media (min-width: 900px) { .intro-section { grid-template-columns: minmax(260px, 32%) 1fr; /* photo | text */ align-items: start; gap: clamp(24px, 3vw, 48px); /* a bit more breathing room */ } .intro-photo { justify-content: flex-start; } /* hug the left */ .intro-text { text-align: justify; } /* spread text edges */ } /* Cover Block */ .cover-block { position: relative; padding: 200px 0; cursor: pointer; text-align: left; overflow: hidden; border: 2px solid transparent; outline: 1px solid rgb(0, 0, 0); transition: border-color 0.2s ease; } .cover-block::before { content: ""; position: absolute; inset: 0; background-image: var(--bg-image); background-size: contain; background-repeat: no-repeat; background-position: right; z-index: 0; opacity: 1; transition: opacity 0.3s ease; } .cover-block:hover::before { opacity: 0.15; } .cover-block:hover { border-color: rgb(175, 175, 175); } .cover-block h2 { position: relative; z-index: 1; font-size: 2.25rem; font-weight: bold; color: rgb(0, 0, 0); margin-left: 2vw; transition: text-decoration 0.2s ease; } .cover-block:hover h2 { text-decoration: underline; } @media (max-width: 768px) { .cover-block { text-align: center; /* center the text */ padding: 80px 0; /* adjust padding for smaller screens */ } .cover-block::before { background-position: center; /* center the image */ background-size: contain; /* make sure it fits */ } .cover-block h2 { margin-left: 0; /* remove left margin so it's centered */ } } :root { --gray-50: #f9fafb; --gray-300: #d1d5db; --text: #111; --muted: #333; --radius: 0.375rem; } /* Intro text (tight spacing) */ .body-text { margin: 0; padding: 0; line-height: 1.6; } /* Paragraph + filter in same row */ .projects-header { display: flex; justify-content: space-between; /* text left, filter at end */ align-items: center; padding: 1rem; gap: 1rem; margin-bottom: 1rem; } /* Filter container */ .filter-dropdown { display: flex; align-items: center; margin: 0; } .filter-label { font-size: 1rem; font-weight: 500; color: var(--muted); margin-right: 0.5rem; white-space: nowrap; } /* Dropdown wrapper */ .dropdown { position: relative; /* used for pure-CSS absolute mode if needed */ display: inline-block; } /* Button */ .dropbtn { background: #fff; color: #000; padding: 0.5rem 1rem; font-size: 1rem; border: 1px solid var(--gray-300); border-radius: var(--radius); cursor: pointer; user-select: none; } /* Menu (we'll position with JS as fixed; CSS keeps default look) */ .dropdown-content { display: none; position: fixed; /* JS sets left/top; fixed keeps it above overflow parents */ background-color: #fff; min-width: 220px; max-height: 60vh; /* scroll if long */ overflow-y: auto; box-shadow: 0 4px 8px rgba(0,0,0,.15); border: 1px solid var(--gray-300); border-radius: var(--radius); z-index: 1000; white-space: nowrap; } .dropdown-content a { color: #000; padding: 0.5rem 1rem; display: block; text-decoration: none; } .dropdown-content a:hover, .dropdown-content a:focus { background: #f0f0f0; outline: none; } /* Project grid just for context */ 

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding: 1rem; gap: 1rem; } 
.project-grid .tile {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  border: 1px solid #bfbfbf;  /* border always visible */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  color: #111;
  font-weight: 600;
  padding: 16px;
  overflow: hidden;
}

.project-grid .tile .tile-label {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}

/* Transparent overlay instead of solid color */
.project-grid .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75); /* 0.6 = 60% opacity */
  opacity: 0;                           /* hidden at rest */
  transition: opacity .3s ease;
  z-index: 1;
}

.project-grid .tile:hover::after,
.project-grid .tile:focus-visible::after {
  opacity: 1; /* fade overlay in */
}

.project-grid .tile:hover .tile-label,
.project-grid .tile:focus-visible .tile-label {
  opacity: 1;
  transform: translateY(0);
}

/* Hide filtered-out tiles cleanly inside the grid */
.project-grid .tile[hidden] { display: none; }

/* Optional: show which filter is selected */
.dropdown-content a.is-active { font-weight: 700; text-decoration: underline; }


@media (max-width: 768px) { .projects-header { flex-direction: column; align-items: stretch; gap: .5rem; } .filter-dropdown { justify-content: flex-end; } } .site-footer { text-align: center; font-family: "Abel", sans-serif; font-size: 0.9rem; color: #555; padding: 1rem 0; border-top: 2px solid black; margin-top: 2rem; background-color: #f9f9f9; /* light contrast from main page */ } .site-footer p { margin: 0; }

/* hides tiles only for the collapsed "first 10" view */
.tile.collapsed { display: none !important; }

/* optional styling for the button */

.see-more-container {
  display: flex;
  justify-content: flex-end; /* push button to right */
  padding-right: 1rem;       /* optional: space from right edge */
}
.see-more-btn {
  display: inline-block;
  margin: 16px 0px;
  align-items: flex-end;
  padding: 10px 16px;
  border: 2px solid #000;
  background: #fff;
  font-family: "Abel", sans-serif;
  cursor: pointer;
}

.controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.controls-spacer {
  flex: 1; /* pushes See more to the right edge */
}

/* hide overflow tiles in collapsed mode */
.tile.collapsed { display: none !important; }

/* optional: keep See more same height as .dropbtn if needed */
.dropbtn.see-more-btn {
  white-space: nowrap;
}

/* About section: keep two columns on desktop */
.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.about-content {
  display: flex;
  gap: 24px;
  width: 100%;
}

/* Give the photo a fixed box so it doesn't force wrapping */
.about-image img {
  width: 50vw;
  height: auto;
  object-fit: cover;   /* centered crop */
  border-radius: 10px; /* optional nicety */
}

.about-text {
  flex: 1;
  font-family: "Abel", sans-serif;
  text-align: justify;
  line-height: 1.6;
}

.atext{
    padding: 15px;
}

@media (max-width: 1250px) {
  .about-content {
    flex-direction: column;
    align-items: flex-start;   /* was: justify (invalid) */
    text-align: justify;
  }
  .about-image img {
    width: 100%;
    height: auto;              /* no crop on mobile */
  }
}

/* Map centering stays the same */
.map-center { display:flex; justify-content:center; margin:20px 0; }
.map-center img { width: 17.5vw; height:auto; border-radius:8px; }
@media (max-width:1250px){ .map-center img{ width:100%; } }

/* Cover strip (horizontal scroller) */
.cover-strip {
  max-width: 100vw;          /* was: max-width: vw (invalid) */
  margin: 0 auto;             /* center the whole strip */
  padding: 0 25px;
}

/* The arrows need a positioned ancestor */
.cover-strip-wrap {
  position: relative;         /* was: position: center (invalid) */
}

/* Horizontal row */
.cover-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;           /* enables scrollbar */
  padding: 8px 4px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;      /* Firefox */
}
.cover-row::-webkit-scrollbar { height: 8px; }
.cover-row::-webkit-scrollbar-thumb { background: #cfcfcf; border-radius: 8px; }

/* Cards */
.cover-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 28vw, 320px);
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  scroll-snap-align: start;
  text-decoration: none;
  background: #eee;
}
.cover-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-card::after {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.45) 22%, rgba(0,0,0,0) 65%);
}
.cover-label {
  position:absolute; left:12px; right:12px; bottom:10px;
  color:#fff; font-weight:600; letter-spacing:.2px;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
}

/* Arrow buttons overlay */
.cover-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  border: none; background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer; user-select: none;
}
.cover-nav.left  { left: -6px; }
.cover-nav.right { right: -6px; }
.cover-nav:hover { background: #fff; }
.cover-nav:active { transform: translateY(-50%) scale(.98); }

@media (max-width: 720px) {
  .cover-nav { display: none; }     /* swipe on mobile */
  .cover-card { width: clamp(70%, 80vw, 92%); }
}

