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

body {
  font-family: 'Instrument Sans';
  font-weight: 400;
  background: #161616;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" stroke="%23040AE8" fill="%23040AE8" width="15px" height="15px" viewBox="0 0 10.04 10.04"><circle cx="5.02" cy="5.02" r="4.52"/></svg>') 10 10, auto;  
}


.linkedin-button {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #040AE8;
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 80px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  z-index: 1000;
  transition: background 0.2s ease;
}

.pushedDown {
	top:60px;
}

.linkedin-button:hover {
  background: #0050d1;
  color: #fff;
}

.back-button { 
  position: fixed;
  top: 24px;
  right: 24px;
  background: #e8e8ec;
  border:1px solid #161616;
  color: #161616 !important;
  padding: 12px 24px;
  border-radius: 80px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  z-index: 1000;
  transition: background 0.2s ease;	
}
      

section.dark:first-of-type {
  max-width: 800px;
  padding: 110px 80px 100px 80px;
  margin: 0 auto;
}

section.dark {
  max-width: 800px;
  padding: 80px 80px 80px 80px;
  margin: 0 auto;
}

.bright {
  background-color: #e8e8ec;
  color: #161616;
}

section.resume {
  max-width: 800px;
  padding: 80px 80px 80px 80px;
  margin: 0 auto;	
}

.bright *, .bright .body-text {
	color:#161616;
}

.resume-item {
	margin-bottom:80px;
	margin-top:10px;
}

.resume-item h1 {
	margin-top:10px;	
	font-size: 220%;
    margin-left: 0px;	
}

.wrapper-section {
  background: #e8e8ec;
  width:100%;	
  color: #161616;  
}

.work-section {

  max-width: 800px;
  padding: 80px 80px 100px 80px;
  margin: 0 auto;
}

section.dark h1 {
	margin-bottom:30px;
}

ul.keywords {
    margin-top:10px;
    padding: 0px;
}

ul.keywords li {
  list-style: none;
  color: #161616;
  border: 1px #7B7B7B solid;
  border-radius: 80px;
  margin-bottom: 4px;
  padding:4px 8px;
  width: fit-content;	    
}

ul.keywords.inlining li {
  display: inline-block;   
  margin-right:6px;
  margin-top:6px;
  font-size:90%
}

h1 {
  font-size: 76px;
  line-height: 102%;
  color: #E8E8EC;
  margin-bottom: 10px;
  font-weight: 400;
}

#smaller {
  font-size: 52px;	
}

h2 {
  font-size: 28px;
  line-height: normal;
  color: #E8E8EC;
  max-width: 641px;
  margin-bottom: 40px;
  font-weight: normal;
}

.body-text {
  font-size: 20px;
  line-height: normal;
  color: #E8E8EC;
  max-width: 641px;
}

.body-text p {
  margin-bottom: 1em;
}

.body-text p:last-child {
  margin-bottom: 0;
}

.mtop {
	margin-top:10px;
}

a {
  color: #fff;
  text-decoration: underline;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

a:hover {
  color: #f2f2f2;
}

/* Desktop - adds left offset matching the design */
@media (min-width: 768px) {
  section.dark {
    padding-left: 80px;
    padding-right: 80px;
  }
  
  h1 {
    margin-left: -5px;
  }
}

/* Mobile - standard side margins */
@media (max-width: 767px) {

section.dark:first-of-type { 
    padding: 60px 24px 80px;	
}
  section.dark {
    padding: 60px 24px 80px;
  }

  
  
  h1 {
    font-size: 48px;
    margin-bottom: 30px;
  }
  
  h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .body-text {
    font-size: 18px;
  }
}



.case-study {
  padding: 0 80px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.label {
  font-size: 26px;
  line-height: normal;
  color: #161617;
  font-weight: 400;
  margin-bottom: -10px;
  margin-left:2px;
}

.work-section h1 {
	color: #161616;
	font-size:52px;
	max-width: 700px;	
	margin-bottom:-20px;
	margin-left:1px;
}




.case-description {
  font-size: 20px;
  line-height: normal;
  color: #161617;
  max-width: 641px;
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.case-description p {
  margin: 0;
}

.case-description a {
  color: #161617;
  text-decoration: underline;
}

.case-description a:hover {
  color: #000;
}

.case-image {
  margin-top: 37px;
  max-width: 564px;
  width: 100%;
}

.case-image img {
  width: 100%;
  height: auto;
  display: block;
}

.case-image.wide {
  width: 100vw;        /* full viewport width */
  max-width: none;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;  /* cancel container centering */
  margin-right: -50vw; /* optional: ensures proper centering */
}

.case-image.narrow {
	margin-top:-20px;
}

.case-image.centered {
  margin-left: auto;
  margin-right: auto;
}

.case-image.left {
  margin-left: 0;
  margin-right: auto;
}

.case-image.right {
  margin-left: auto;
  margin-right: 0;
}

.case-study + .case-study {
  margin-top: 100px;
}

.case-separator {
  max-width: 900px;
  padding: 0 80px;
  margin: 83px auto;
  border: none;
  border-top: 1px solid #b9b9b9;
}

/* Desktop work section */
@media (min-width: 768px) {
  .work-section {
    padding: 80px 0 100px 0;
  }
  
  .title {

  }
}

/* Mobile work section */
@media (max-width: 767px) {
  .work-section {
    padding: 60px 0 80px 0;
  }
  
  section.resume {
    padding: 0 24px;	  
  }
  
  .resume-item:first-of-type {
	  margin-top:60px;
  }
  
  
  .case-study {
    padding: 0 24px;
  }
  
  .work-label {
    font-size: 24px;
  }
  
  .title {
    font-size: 48px;
  }
  
  .case-description {
    font-size: 18px;
  }
  

    width: 100vw;
  }
}