/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "aleo", sans-serif;
  font-weight: 200;
  font-style: normal;
  width: 100%;
  background: #fff;
  color: #000;
}

/* ================= TOP BAR ================= */
.top-bar {
  font-family: "fuuld", sans-serif;
  font-weight: 400;
  font-style: normal;

  width: 100%;
  background: #fff;

  padding: 0.75rem 2rem;

  border-bottom: 1px solid #000;

  position: sticky;
  top: 0;

  z-index: 1000;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 2000px;
  margin: 0 auto;
}
.logo {
  font-family: "fuuld", sans-serif;
}
.dot {
  width: 18px;
  height: 18px;
  background: orangered;
  border-radius: 50%;
}

.top-bar a {
  font-family: "fuuld", sans-serif;
  font-weight: 400;
  font-style: normal;

  text-decoration: none;
  color: inherit;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* ================= HEADER ================= */
.header {
  padding: 2rem;
}

.header-inner {
  max-width: 700px;

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

.bio {
  margin-bottom: 1rem;
}

.copyright {
  font-size: 0.75rem;
  color: #555;
}

/* ================= DIVIDER ================= */
.divider {
  border: none;
  border-top: 1px solid #000;
  margin: 0;
}

/* ================= FILTER BAR ================= */
.filter-bar {
  display: flex;
  gap: 1.5rem;

  padding: 1rem 2rem;

  border-bottom: 1px solid #000;
}

.filter-bar button {
  background: none;
  border: none;
  cursor: pointer;

  font-family: "aleo", sans-serif;
  font-weight: 200;

  color: black;
}

.filter-bar button.active {
  color: orangered;
  text-decoration: underline;
}

/* ================= GRID ================= */
.grid {
  column-count: 4;
  column-gap: 40px;

  padding: 2rem;
}

.work-item {
  break-inside: avoid;

  margin-bottom: 40px;

  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  cursor: pointer;
}

.work-item img,
.work-item video {
  width: 100%;
  height: auto;
  display: block;
}

.work-item div {
  font-size: 0.8rem;
  line-height: 1.3;
}
/* ================= WORK PAGE SLIDESHOW (MODAL-STYLE REBUILD) ================= */
.work-caption {
  font-family: "aleo", sans-serif;
  font-weight: 200;
  font-size: 0.85rem;
  line-height: 1.5;
}

#work-page {
  width: 100%;
  height: 100vh;

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

  background: #fff;
  position: relative;
}

/* slideshow wrapper (replaces modal-slideshow) */
.work-slideshow {
  width: 68%;
  max-width: 1100px;

  margin: 0 auto;

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

  position: relative;
}

/* media styling (same as your old slide-media) */
.work-slideshow img,
.work-slideshow video {
  max-width: 100%;
  max-height: 82vh;

  object-fit: contain;
  display: block;
}

/* arrows (same behavior as modal arrows) */
.work-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);

  font-size: 42px;
  font-weight: 200;

  color: black;
  cursor: pointer;

  z-index: 5000;

  user-select: none;

  padding: 20px;
  width: 60px;
  text-align: center;
}

.work-arrow.left {
  left: 28px;
}

.work-arrow.right {
  right: 28px;
}

.work-arrow:hover {
  opacity: 0.6;
}

/* title (optional like modal caption feel) */
#work-page h1 {
  position: fixed;
  bottom: 30px;
  left: 30px;

  font-size: 0.85rem;
  font-weight: 300;
}

/* back button */
.work-back {
  position: fixed;
  top: 20px;
  left: 28px;

  font-size: 0.85rem;
  color: black;
  text-decoration: none;

  z-index: 6000;
}

.work-back:hover {
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .grid {
    column-count: 2;
  }
}

@media (max-width: 800px) {
  .grid {
    column-count: 1;
  }

  .header {
    padding: 1.5rem;
  }

  .filter-bar {
    padding: 1rem 1.5rem;
  }

  .grid {
    padding: 1.5rem;
  }
}