/* =========================================================
   LUMIERE ARC — OUR WORK
   Portfolio landing page
   ========================================================= */


/* =========================================================
   SHARED EYEBROW
   ========================================================= */

.work-eyebrow {

  margin:
    0 0 9px;

  color: var(--brass);

  font-size: 9px;

  font-weight: 500;

  letter-spacing: 0.17em;

  text-transform: uppercase;

}


/* =========================================================
   PORTFOLIO INTRO
   ========================================================= */

.work-intro {

  position: relative;

  padding:
    165px
    clamp(40px, 6.5vw, 125px)
    58px;

  background:
    linear-gradient(
      180deg,
      #faf6f0 0%,
      #f8f3ec 48%,
      #faf7f2 100%
    );

}


.work-intro-inner {

  width: 100%;

  max-width: 1500px;

  margin: 0 auto;

  text-align: center;

}


/* =========================================================
   INTRO TYPOGRAPHY
   ========================================================= */

.work-intro h1 {

  margin: 0;

  color: #403a34;

  font-family: var(--serif);

  font-size:
    clamp(
      46px,
      4.4vw,
      68px
    );

  font-weight: 500;

  line-height: 1;

}


.work-description {

  max-width: 620px;

  margin:
    15px auto 34px;

  color: #625c54;

  font-size: 10.5px;

  line-height: 1.75;

}


/* =========================================================
   CATEGORY ROW
   ========================================================= */

.work-categories {

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;

  width: 100%;

}


/* =========================================================
   CATEGORY CARD
   ========================================================= */

.work-category {

  width: 100%;

  padding: 0;

  border:
    1px solid
    rgba(168, 121, 42, 0.18);

  background:
    rgba(250, 247, 242, 0.88);

  cursor: pointer;

  text-align: left;

  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;

}


.work-category:hover,
.work-category.active {

  transform:
    translateY(-3px);

  border-color:
    rgba(168, 121, 42, 0.50);

  box-shadow:
    0 12px 30px
    rgba(49, 42, 32, 0.08);

}


/* =========================================================
   CATEGORY IMAGE
   ========================================================= */

.work-category-image {

  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #d9d1c5,
      #c3b8a8
    );

}


.work-category-image img {

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.45s ease;

}


.work-category:hover
.work-category-image img {

  transform:
    scale(1.025);

}


.category-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(35, 30, 25, 0) 48%,
      rgba(35, 30, 25, 0.12) 100%
    );

}


/* =========================================================
   CATEGORY LABEL
   ========================================================= */

.work-category-label {

  min-height: 72px;

  padding:
    16px 18px;

  display: grid;

  grid-template-columns:
    1fr
    28px;

  align-items: center;

  gap: 12px;

}


.work-category-label h2 {

  margin: 0;

  color: #49423a;

  font-family: var(--serif);

  font-size:
    clamp(
      23px,
      2vw,
      31px
    );

  font-weight: 500;

  line-height: 1;

  text-align: left;

}


.category-arrow {

  color: var(--brass);

  font-size: 16px;

  text-align: right;

  transition:
    transform 0.25s ease;

}


.work-category:hover
.category-arrow {

  transform:
    translateX(4px);

}


/* =========================================================
   PROJECT SECTION
   ========================================================= */

.project-section {

  padding:
    55px
    clamp(40px, 6.5vw, 125px)
    90px;

  background: #faf7f2;

  scroll-margin-top: 25px;

}


/* =========================================================
   PROJECT TOOLBAR
   ========================================================= */

.project-toolbar {

  max-width: 1500px;

  margin:
    0 auto 26px;

  padding-bottom: 20px;

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 30px;

  border-bottom:
    1px solid
    rgba(168, 121, 42, 0.20);

}


.project-toolbar-title h2 {

  margin: 0;

  color: #49423a;

  font-family: var(--serif);

  font-size:
    clamp(
      32px,
      2.8vw,
      44px
    );

  font-weight: 500;

}


/* =========================================================
   TOOLBAR ACTIONS
   ========================================================= */

.project-toolbar-actions {

  display: flex;

  align-items: center;

  gap: 18px;

}


/* =========================================================
   VIEW ALL RESET
   ========================================================= */

.view-all-reset {

  padding: 0;

  border: none;

  background: transparent;

  color: var(--brass);

  font-family: var(--sans);

  font-size: 8px;

  font-weight: 500;

  letter-spacing: 0.10em;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    color 0.2s ease;

}


.view-all-reset:hover {

  color: var(--brass-dark);

}


.view-all-reset[hidden] {

  display: none;

}


/* =========================================================
   PROJECT COUNT
   ========================================================= */

.project-count {

  color: #7b746b;

  font-size: 8px;

  letter-spacing: 0.08em;

  text-transform: uppercase;

}


/* =========================================================
   LAYOUT CONTROLS
   ========================================================= */

.layout-controls {

  display: flex;

  gap: 7px;

}


.layout-button {

  width: 35px;
  height: 35px;

  padding: 8px;

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  grid-template-rows:
    repeat(2, 1fr);

  gap: 3px;

  border:
    1px solid
    rgba(168, 121, 42, 0.28);

  background: transparent;

  cursor: pointer;

}


.layout-button span {

  display: block;

  background:
    rgba(87, 77, 64, 0.42);

}


.layout-button.active {

  border-color: var(--brass);

  background:
    rgba(168, 121, 42, 0.07);

}


.layout-button.active span {

  background: var(--brass);

}


/* Single column icon */

.layout-single {

  grid-template-columns: 1fr;

  grid-template-rows:
    repeat(2, 1fr);

}


/* =========================================================
   PROJECT GRID
   ========================================================= */

.project-grid {

  max-width: 1500px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap:
    48px
    24px;

}


/* =========================================================
   SINGLE COLUMN MODE
   ========================================================= */

.project-grid.single-column {

  grid-template-columns: 1fr;

  max-width: 1280px;

}


.project-grid.single-column
.project-image {

  aspect-ratio: 16 / 8.5;

}


/* =========================================================
   PROJECT CARD
   ========================================================= */

.project-card {

  min-width: 0;

}


.project-card[hidden] {

  display: none;

}


/* =========================================================
   PROJECT IMAGE
   ========================================================= */

.project-image {

  position: relative;

  width: 100%;

  aspect-ratio: 16 / 10;

  display: block;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #d8d0c4,
      #bdb2a3
    );

}


.project-image::after {

  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  border:
    1px solid
    rgba(168, 121, 42, 0);

  transition:
    border-color 0.3s ease;

}


.project-image img {

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.55s ease;

}


.project-card:hover
.project-image img {

  transform:
    scale(1.018);

}


.project-card:hover
.project-image::after {

  border-color:
    rgba(168, 121, 42, 0.42);

}


/* =========================================================
   PROJECT INFORMATION
   ========================================================= */

.project-info {

  padding:
    15px 2px 0;

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 20px;

}


.project-info h3 {

  margin:
    0 0 5px;

  color: #484139;

  font-family: var(--serif);

  font-size:
    clamp(
      22px,
      1.8vw,
      29px
    );

  font-weight: 500;

  line-height: 1;

}


.project-info p {

  margin: 0;

  color: #80786f;

  font-size: 7.5px;

  font-weight: 500;

  letter-spacing: 0.08em;

  text-transform: uppercase;

}


.project-arrow {

  margin-top: 4px;

  color: var(--brass);

  font-size: 16px;

  transition:
    transform 0.25s ease;

}


.project-card:hover
.project-arrow {

  transform:
    translateX(4px);

}


/* =========================================================
   NO PROJECTS
   ========================================================= */

.no-projects {

  max-width: 1500px;

  margin: 0 auto;

  padding:
    70px 20px;

  text-align: center;

}


.no-projects p {

  margin: 0;

  color: #756e65;

  font-size: 10px;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {


  .work-intro {

    padding:
      145px
      42px
      50px;

  }


  .project-section {

    padding:
      48px
      42px
      75px;

  }


  .work-category-label {

    padding:
      14px 14px;

  }


}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {


  .work-intro {

    padding:
      125px
      22px
      42px;

  }


  .work-description {

    margin-bottom: 28px;

  }


  .work-categories {

    display: flex;

    gap: 14px;

    overflow-x: auto;

    padding-bottom: 6px;

    scrollbar-width: none;

    scroll-snap-type: x proximity;

  }


  .work-categories::-webkit-scrollbar {
    display: none;
  }


  .work-category {

    flex:
      0 0
      min(
        78vw,
        370px
      );

    scroll-snap-align: start;

  }


  .project-section {

    padding:
      42px
      22px
      65px;

  }


  .project-toolbar {

    align-items: flex-start;

    flex-direction: column;

    gap: 16px;

  }


  .project-toolbar-actions {

    width: 100%;

    justify-content: space-between;

  }


  .project-grid {

    grid-template-columns: 1fr;

    gap: 40px;

  }


  .project-grid.single-column {

    max-width: none;

  }


  .project-grid.single-column
  .project-image {

    aspect-ratio: 16 / 10;

  }


}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {


  .work-intro {

    padding:
      112px
      18px
      38px;

  }


  .work-intro h1 {

    font-size: 42px;

  }


  .work-category {

    flex-basis: 84vw;

  }


  .work-category-label h2 {

    font-size: 25px;

  }


  .project-section {

    padding:
      38px
      18px
      55px;

  }


  .project-image {

    aspect-ratio: 16 / 10;

  }


}